Changed Goblins comic - moved to new scraper and fixed minor issues with some comics (old scrapper was unstable for some comics of Goblins)
This commit is contained in:
parent
91bfb44b47
commit
48d8519efd
1 changed files with 4 additions and 4 deletions
|
@ -121,13 +121,13 @@ class GleefulNihilism(_BasicScraper):
|
|||
help = 'Index format: stripname'
|
||||
|
||||
|
||||
class GoblinsComic(_BasicScraper):
|
||||
class GoblinsComic(_ParserScraper):
|
||||
url = 'http://www.goblinscomic.org/'
|
||||
rurl = escape(url)
|
||||
stripUrl = url + '%s/'
|
||||
firstStripUrl = stripUrl % '06252005'
|
||||
prevSearch = compile(tagre("a", "href", r'(%s[-\d]+/)' % rurl, after="prev"))
|
||||
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+\.[^"]+)' % rurl))
|
||||
css = True
|
||||
imageSearch = '#comic img'
|
||||
prevSearch = '.nav-previous > a'
|
||||
help = 'Index format: ddmmyyyy'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue