[SMBC] Fix regexp, mainly concerns older strips

This commit is contained in:
Benjamin Sigonneau 2013-04-21 22:39:06 +02:00
parent 820f96c5cc
commit f1da47edef

View file

@ -236,7 +236,7 @@ class SMBC(_BasicScraper):
url = 'http://www.smbc-comics.com/'
stripUrl = url + 'index.php?db=comics&id=%s'
firstStripUrl = stripUrl % '1'
imageSearch = compile(r'<img src=\'(.+?\d{8}.\w{1,4})\'>')
imageSearch = compile(r'<img src=\'(.+?\d{8}[-\w]?\d?.\w{1,4})\'>')
prevSearch = compile(r'131,13,216,84"\n\s+href="(.+?)#comic"\n>', MULTILINE)
help = 'Index format: nnnn'