Fix GUComics

This commit is contained in:
Bastian Kleineidam 2013-02-13 06:27:46 +01:00
parent e38a766db3
commit 67af7bd115

View file

@ -30,8 +30,8 @@ class Garanos(_BasicScraper):
class GUComics(_BasicScraper): class GUComics(_BasicScraper):
url = 'http://www.gucomics.com/comic/' url = 'http://www.gucomics.com/comic/'
stripUrl = url + '?cdate=%s' stripUrl = url + '?cdate=%s'
imageSearch = compile(r'<IMG src="(/comics/\d{4}/gu_.*?)"') imageSearch = compile(tagre("img", "src", r'(/comics/\d{4}/gu_[^"]+)'))
prevSearch = compile(r'<A href="(/comic/\?cdate=\d+)"><IMG src="/images/cnav_prev') prevSearch = compile(tagre("a", "href", r'(/comic/\?cdate=\d+)') + '&lt; Prev')
help = 'Index format: yyyymmdd' help = 'Index format: yyyymmdd'