Merge pull request #17 from Null000/master
fixed ManlyGuysDoingManlyThings
This commit is contained in:
commit
2b3a3d1499
1 changed files with 4 additions and 4 deletions
|
@ -42,13 +42,13 @@ class MagickChicks(_BasicScraper):
|
||||||
help = 'Index format: name'
|
help = 'Index format: name'
|
||||||
|
|
||||||
|
|
||||||
class ManlyGuysDoingManlyThings(_BasicScraper):
|
class ManlyGuysDoingManlyThings(_ParserScraper):
|
||||||
url = 'http://thepunchlineismachismo.com/'
|
url = 'http://thepunchlineismachismo.com/'
|
||||||
rurl = escape(url)
|
|
||||||
stripUrl = url + 'archives/comic/%s'
|
stripUrl = url + 'archives/comic/%s'
|
||||||
firstStripUrl = stripUrl % '02222010'
|
firstStripUrl = stripUrl % '02222010'
|
||||||
imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/\d+-\d+-\d+[^"]+)' % rurl))
|
css = True
|
||||||
prevSearch = compile(tagre("a", "href", r'(%sarchives/comic/[^"]+)' % rurl, after="previous"))
|
imageSearch = "#comic img"
|
||||||
|
prevSearch = ".comic-nav-previous"
|
||||||
help = 'Index format: ddmmyyyy'
|
help = 'Index format: ddmmyyyy'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue