redoing MenageA3 with ParserScraper (previous search regex was broken)
This commit is contained in:
parent
6369203bc0
commit
0e0dcf1f8e
1 changed files with 3 additions and 6 deletions
|
@ -116,14 +116,11 @@ class Melonpool(_WordPressScraper):
|
||||||
allow_errors = (500,)
|
allow_errors = (500,)
|
||||||
|
|
||||||
|
|
||||||
class MenageA3(_BasicScraper):
|
class MenageA3(_ParserScraper):
|
||||||
adult = True
|
adult = True
|
||||||
url = 'http://www.ma3comic.com/'
|
url = 'http://www.ma3comic.com/'
|
||||||
stripUrl = url + 'strips-ma3/%s'
|
imageSearch = '//*[@id="cc-comic"]'
|
||||||
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
|
prevSearch = '//a[@class="prev"]'
|
||||||
prevSearch = compile(tagre("a", "href", r'([^"]*/comics/[^"]+)',
|
|
||||||
before="cn[id]prev"))
|
|
||||||
help = 'Index format: name'
|
|
||||||
|
|
||||||
|
|
||||||
class Metacarpolis(_ComicControlScraper):
|
class Metacarpolis(_ComicControlScraper):
|
||||||
|
|
Loading…
Reference in a new issue