Update SinFest to work with new website.

This commit is contained in:
Alex Rozenshteyn 2014-12-16 12:01:54 -05:00
parent 2c1ff889fa
commit 51996e45ed

View file

@ -267,12 +267,12 @@ class ShotgunShuffle(_BasicScraper):
class SinFest(_BasicScraper): class SinFest(_BasicScraper):
description = u'Strip dealing with contemporary issues and religion. Created by Tatsuya Ishida.' description = u'Strip dealing with contemporary issues and religion. Created by Tatsuya Ishida.'
name = 'KeenSpot/SinFest' name = 'SinFest'
url = 'http://www.sinfest.net/' url = 'http://www.sinfest.net/'
stripUrl = url + 'archive_page.php?comicID=%s' stripUrl = url + 'view.php?date=%s'
imageSearch = compile(r'<img src=".+?(/comikaze/comics/.+?)"') imageSearch = compile(tagre("img","src", r'(btphp/comics/.+)', after="alt"))
prevSearch = compile(r'(/archive_page.php\?comicID=.+?)".+?prev_a') prevSearch = compile(tagre("a", "href", r'(view\.php\?date=.+)') + '\\s*' + tagre("img", "src", r'\.\./images/prev\.gif'))
help = 'Index format: n (unpadded)' help = 'Index format: yyyy-mm-dd'
# XXX disallowed by robots.txt # XXX disallowed by robots.txt