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 Closes: GH bug #64
Fixes: Fixes:
- comics: Fixed GirlGenius - comics: Fixed GirlGenius, LookingForGroup
Closes: GH bug #63 Closes: GH bug #63, #66
Dosage 2.14 (released 8.6.2014) Dosage 2.14 (released 8.6.2014)

View file

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