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]
|
return page_url.rsplit('/', 1)[-1][:-5]
|
||||||
|
|
||||||
|
|
||||||
class TheRockCocks(_BasicScraper):
|
class TheRockCocks(ComicControlScraper):
|
||||||
url = 'http://rockcocks.slipshine.net/'
|
url = 'https://rockcocks.slipshine.net/'
|
||||||
rurl = escape(url)
|
firstStripUrl = url + 'the-rock-cocks/page-1'
|
||||||
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"'))
|
|
||||||
adult = True
|
adult = True
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue