Merge pull request #30 from Freestila/master
Changed Goblins comic - moved to new scraper and fixed minor issues w…
This commit is contained in:
commit
0a4b2b5f52
1 changed files with 4 additions and 4 deletions
|
@ -121,13 +121,13 @@ class GleefulNihilism(_BasicScraper):
|
||||||
help = 'Index format: stripname'
|
help = 'Index format: stripname'
|
||||||
|
|
||||||
|
|
||||||
class GoblinsComic(_BasicScraper):
|
class GoblinsComic(_ParserScraper):
|
||||||
url = 'http://www.goblinscomic.org/'
|
url = 'http://www.goblinscomic.org/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
stripUrl = url + '%s/'
|
stripUrl = url + '%s/'
|
||||||
firstStripUrl = stripUrl % '06252005'
|
css = True
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s[-\d]+/)' % rurl, after="prev"))
|
imageSearch = '#comic img'
|
||||||
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+\.[^"]+)' % rurl))
|
prevSearch = '.nav-previous > a'
|
||||||
help = 'Index format: ddmmyyyy'
|
help = 'Index format: ddmmyyyy'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue