Fix LookingForGroup.
This commit is contained in:
parent
2cbac0cfba
commit
ebfc6cba70
1 changed files with 6 additions and 6 deletions
|
@ -25,12 +25,12 @@ class Lint(_BasicScraper):
|
||||||
|
|
||||||
|
|
||||||
class LookingForGroup(_BasicScraper):
|
class LookingForGroup(_BasicScraper):
|
||||||
url = 'http://www.lfgcomic.com/page/latest'
|
url = 'http://www.lfgcomic.com/'
|
||||||
stripUrl = 'http://www.lfgcomic.com/page/%s'
|
stripUrl = url + 'page/%s/'
|
||||||
imageSearch = compile(r'<img src="(http://newcdn.lfgcomic.com/uploads/comics/.+?)"')
|
imageSearch = compile(tagre("meta", "content", r'(http://cdn\.lfgcomic\.com/wp-content/uploads/[^"]+)', before="og:image"))
|
||||||
prevSearch = compile(r'<a href="(/page/\d+)" id="navtop-prev"')
|
prevSearch = compile(tagre("a", "href", r'(http://www\.lfgcomic\.com/page/\d+/)', after="navtop-prev"))
|
||||||
starter = indirectStarter('http://www.lfgcomic.com/', compile(r'<a href="(/page/\d+)" id="feature-preview"'))
|
starter = indirectStarter(url, compile(tagre("a", "href", r'(http://www\.lfgcomic\.com/page/\d+/)', after="feature-previous")))
|
||||||
nameSearch = compile(r'/page/(\d+)')
|
nameSearch = compile(r'/page/(\d+)/')
|
||||||
help = 'Index format: nnn'
|
help = 'Index format: nnn'
|
||||||
|
|
||||||
def namer(self, imageUrl, pageUrl):
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
|
Loading…
Reference in a new issue