Fix LookingForGroup.

This commit is contained in:
Bastian Kleineidam 2013-05-21 18:48:03 +02:00
parent 3810938328
commit b41fdf99ae
2 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,10 @@ Features:
- scripts: Added script to create a CBZ archive for a given comic
directory.
Fixes:
- comics: Fix LookingForGroup.
Closes: GH bug #31
Dosage 2.2 (released 30.4.2013)

View file

@ -87,7 +87,7 @@ class LookingForGroup(_BasicScraper):
rurl = escape(url)
stripUrl = url + 'page/%s/'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(http://cdn\.lfgcomic\.com/wp-content/uploads/[^"]+)'))
imageSearch = compile(tagre("img", "src", r'(http://(?:www|cdn)\.lfgcomic\.com/wp-content/uploads/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="navtop-prev"))
starter = indirectStarter(url,
compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-previous")))