dosage/dosagelib/plugins/q.py

33 lines
1.1 KiB
Python
Raw Normal View History

# SPDX-License-Identifier: MIT
2016-10-28 22:21:41 +00:00
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
2014-01-05 15:50:57 +00:00
# Copyright (C) 2012-2014 Bastian Kleineidam
2020-01-09 22:36:05 +00:00
# Copyright (C) 2015-2020 Tobias Gruetzmacher
# Copyright (C) 2019-2020 Daniel Ring
2020-01-09 22:36:05 +00:00
from ..scraper import _ParserScraper
2012-06-20 19:58:13 +00:00
2019-06-23 21:36:33 +00:00
class QuantumVibe(_ParserScraper):
url = 'https://www.quantumvibe.com/'
stripUrl = url + 'strip?page=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "disppageV3?story=qv")]'
2020-12-02 07:40:18 +00:00
prevSearch = '//a[./img[@alt="Previous Strip"]]'
2019-06-23 21:36:33 +00:00
2019-07-13 03:44:27 +00:00
class QuestionableContent(_ParserScraper):
url = 'http://www.questionablecontent.net/'
stripUrl = url + 'view.php?comic=%s'
2013-04-10 21:57:09 +00:00
firstStripUrl = stripUrl % '1'
2019-07-13 03:44:27 +00:00
imageSearch = '//img[contains(@src, "comics/")]'
prevSearch = '//a[text()="Previous"]'
2012-06-20 19:58:13 +00:00
help = 'Index format: n (unpadded)'
2020-01-09 22:36:05 +00:00
class Qwantz(_ParserScraper):
url = 'http://www.qwantz.com/index.php'
stripUrl = url + '?comic=%s'
2013-04-10 21:57:09 +00:00
firstStripUrl = stripUrl % '1'
imageSearch = '//img[d:class("comic")]'
2020-01-09 22:36:05 +00:00
prevSearch = '//a[@rel="prev"]'
2012-06-20 19:58:13 +00:00
help = 'Index format: n'