diff --git a/dosagelib/plugins/q.py b/dosagelib/plugins/q.py index 8f9bf7f98..0320f75c0 100644 --- a/dosagelib/plugins/q.py +++ b/dosagelib/plugins/q.py @@ -6,10 +6,18 @@ from __future__ import absolute_import, division, print_function from re import compile, escape -from ..scraper import _BasicScraper +from ..scraper import _BasicScraper, _ParserScraper from ..util import tagre +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")]]' + + class QuestionableContent(_BasicScraper): url = 'http://www.questionablecontent.net/' stripUrl = url + 'view.php?comic=%s'