3
from dosage.helpers import BasicScraper
6
class QuestionableContent(BasicScraper):
7
latestUrl = 'http://www.questionablecontent.net/'
8
imageUrl = 'http://www.questionablecontent.net/view.php?comic=%s'
9
imageSearch = compile(r'<img src="((?:http://www\.questionablecontent\.net|\.{1,2})/comics/\d+\.png)"')
10
prevSearch = compile(r'<a href="(view.php\?comic=\d+)">Previous')
11
help = 'Index format: n (unpadded)'
14
class Qwantz(BasicScraper):
15
latestUrl = 'http://www.qwantz.com/'
16
imageUrl = 'http://www.qwantz.com/index.pl?comic=%s'
17
imageSearch = compile(r'"(http://www.qwantz.com/comics/.+?)"')
18
prevSearch = compile(r'(/archive/.+?)">previous')
19
help = 'Index format: n'