dosage/dosagelib/plugins/q.py
Tobias Gruetzmacher 8e1e398a8d Deprecate underscore-prefixed parent classes
This is trying to strike a balance between updating as much existing
classes as possible, but not making the diff too big...
2022-06-06 12:08:32 +02:00

33 lines
1.1 KiB
Python

# SPDX-License-Identifier: MIT
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2022 Tobias Gruetzmacher
# Copyright (C) 2019-2020 Daniel Ring
from ..scraper import ParserScraper
class QuantumVibe(ParserScraper):
url = 'https://www.quantumvibe.com/'
stripUrl = url + 'strip?page=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "disppageV3?story=qv")]'
prevSearch = '//a[./img[@alt="Previous Strip"]]'
class QuestionableContent(ParserScraper):
url = 'http://www.questionablecontent.net/'
stripUrl = url + 'view.php?comic=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "comics/")]'
prevSearch = '//a[text()="Previous"]'
help = 'Index format: n (unpadded)'
class Qwantz(ParserScraper):
url = 'http://www.qwantz.com/index.php'
stripUrl = url + '?comic=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[d:class("comic")]'
prevSearch = '//a[@rel="prev"]'
help = 'Index format: n'