dosage/dosagelib/plugins/q.py

33 lines
1.1 KiB
Python
Raw Normal View History

# SPDX-License-Identifier: MIT
2016-10-29 00:21:41 +02:00
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
2014-01-05 16:50:57 +01:00
# Copyright (C) 2012-2014 Bastian Kleineidam
2020-01-09 23:36:05 +01:00
# Copyright (C) 2015-2020 Tobias Gruetzmacher
# Copyright (C) 2019-2020 Daniel Ring
2020-01-09 23:36:05 +01:00
from ..scraper import _ParserScraper
2012-06-20 21:58:13 +02:00
2019-06-23 14:36:33 -07:00
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[contains(@src, "nav/prevstrip")]]'
2019-07-12 20:44:27 -07:00
class QuestionableContent(_ParserScraper):
url = 'http://www.questionablecontent.net/'
stripUrl = url + 'view.php?comic=%s'
2013-04-10 23:57:09 +02:00
firstStripUrl = stripUrl % '1'
2019-07-12 20:44:27 -07:00
imageSearch = '//img[contains(@src, "comics/")]'
prevSearch = '//a[text()="Previous"]'
2012-06-20 21:58:13 +02:00
help = 'Index format: n (unpadded)'
2020-01-09 23:36:05 +01:00
class Qwantz(_ParserScraper):
url = 'http://www.qwantz.com/index.php'
stripUrl = url + '?comic=%s'
2013-04-10 23:57:09 +02:00
firstStripUrl = stripUrl % '1'
imageSearch = '//img[d:class("comic")]'
2020-01-09 23:36:05 +01:00
prevSearch = '//a[@rel="prev"]'
2012-06-20 21:58:13 +02:00
help = 'Index format: n'