Fix DieFruehreifen (closes #73).

This commit is contained in:
Tobias Gruetzmacher 2014-07-31 21:18:15 +02:00
parent 3a929ceea6
commit ca2d722d39

View file

@ -159,7 +159,7 @@ class DieFruehreifen(_BasicScraper):
url = 'http://www.die-fruehreifen.de/index.php' url = 'http://www.die-fruehreifen.de/index.php'
stripUrl = url + '?id=%s&order=DESC' stripUrl = url + '?id=%s&order=DESC'
firstStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r"(strips/[F,f]rueh[_]?[S,s]trip_\d+.jpg)")) imageSearch = compile(tagre("img", "src", r'([^"]*/strips/[Ff]rueh_?[Ss]trip_\d+.jpg)'))
prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+&order=DESC)") + tagre("img","id",r"naechster")) prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+&order=DESC)") + tagre("img","id",r"naechster"))
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
lang = 'de' lang = 'de'