Switch TheRockCocks to ComicControlScraper (fixes #278)
This commit is contained in:
parent
89db5f31a6
commit
4e03ec84c6
1 changed files with 3 additions and 7 deletions
|
@ -206,13 +206,9 @@ class TheOrderOfTheStick(_ParserScraper):
|
|||
return page_url.rsplit('/', 1)[-1][:-5]
|
||||
|
||||
|
||||
class TheRockCocks(_BasicScraper):
|
||||
url = 'http://rockcocks.slipshine.net/'
|
||||
rurl = escape(url)
|
||||
stripUrl = url + 'comic/%s'
|
||||
firstStripUrl = stripUrl % "page-1-nsfw-track-1-start"
|
||||
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl, after='id="cc-comic"'))
|
||||
prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+)' % rurl, after='rel="prev"'))
|
||||
class TheRockCocks(ComicControlScraper):
|
||||
url = 'https://rockcocks.slipshine.net/'
|
||||
firstStripUrl = url + 'the-rock-cocks/page-1'
|
||||
adult = True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue