Fix LookingForGroup
This commit is contained in:
parent
2b0d2d3a70
commit
7eaf12caf6
2 changed files with 3 additions and 5 deletions
|
@ -17,6 +17,8 @@ Fixes:
|
||||||
- cmdline: Catch error when multiple comics match.
|
- cmdline: Catch error when multiple comics match.
|
||||||
Closes: GH bug #16
|
Closes: GH bug #16
|
||||||
- comics: Retry download on empty content to reduce empty file errors.
|
- comics: Retry download on empty content to reduce empty file errors.
|
||||||
|
- comics: Don't save thumbnails in LookingForGroup
|
||||||
|
Closes: GH bug #17
|
||||||
|
|
||||||
|
|
||||||
Dosage 1.12 (released 4.3.2013)
|
Dosage 1.12 (released 4.3.2013)
|
||||||
|
|
|
@ -54,12 +54,8 @@ class LoadingArtist(_BasicScraper):
|
||||||
class LookingForGroup(_BasicScraper):
|
class LookingForGroup(_BasicScraper):
|
||||||
url = 'http://www.lfgcomic.com/'
|
url = 'http://www.lfgcomic.com/'
|
||||||
stripUrl = url + 'page/%s/'
|
stripUrl = url + 'page/%s/'
|
||||||
imageSearch = compile(tagre("meta", "content", r'(http://cdn\.lfgcomic\.com/wp-content/uploads/[^"]+)', before="og:image"))
|
imageSearch = compile(tagre("img", "src", r'(http://cdn\.lfgcomic\.com/wp-content/uploads/[^"]+)'))
|
||||||
prevSearch = compile(tagre("a", "href", r'(http://www\.lfgcomic\.com/page/\d+/)', after="navtop-prev"))
|
prevSearch = compile(tagre("a", "href", r'(http://www\.lfgcomic\.com/page/\d+/)', after="navtop-prev"))
|
||||||
starter = indirectStarter(url, compile(tagre("a", "href", r'(http://www\.lfgcomic\.com/page/\d+/)', after="feature-previous")))
|
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'
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def namer(self, imageUrl, pageUrl):
|
|
||||||
return self.nameSearch.search(pageUrl).group(1)
|
|
||||||
|
|
Loading…
Reference in a new issue