Fixed LookingForGroup

This commit is contained in:
Bastian Kleineidam 2014-07-01 23:44:01 +02:00
parent 2170b5a7ad
commit b03ba158ef
2 changed files with 6 additions and 5 deletions

View file

@ -5,8 +5,8 @@ Features:
Closes: GH bug #64
Fixes:
- comics: Fixed GirlGenius
Closes: GH bug #63
- comics: Fixed GirlGenius, LookingForGroup
Closes: GH bug #63, #66
Dosage 2.14 (released 8.6.2014)

View file

@ -97,9 +97,10 @@ class LookingForGroup(_BasicScraper):
rurl = escape(url)
stripUrl = url + 'page/%s/'
firstStripUrl = stripUrl % '1'
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"))
imageSearch = compile(tagre("img", "src", r'(http://(?:www|cdn)\.lfgcomic\.com/wp-content/uploads/\d+/\d+/lfg[^"]+)'))
#http://www.lfgcomic.com/wp-content/uploads/2014/06/lfg2827-787-jun30-14.gif
prevSearch = compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="comic-nav-prev"))
starter = indirectStarter(url,
compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-previous")))
compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-item-link")))
nameSearch = compile(r'/page/([-0-9]+)/')
help = 'Index format: nnn'