Fix OneQuestion.

This commit is contained in:
Bastian Kleineidam 2013-02-22 20:23:47 +01:00
parent 889056b8e3
commit 6793aecbd3

View file

@ -48,7 +48,7 @@ class OnTheEdge(_BasicScraper):
class OneQuestion(_BasicScraper):
url = 'http://onequestioncomic.com/'
stripUrl = url + 'comic.php?strip_id=%s'
imageSearch = compile(tagre("img", "src", r'(istrip_files/strips/\d+\.jpg)'))
imageSearch = compile(tagre("img", "src", r'((?:\.\./)?istrip_files/strips/\d+\.jpg)'))
prevSearch = compile(tagre("a", "href", r'(comic\.php\?strip_id=\d+)') + tagre("img", "src", r'img/arrow_prev\.jpg'))
help = 'Index format: n (unpadded)'