Add AwkwardZombie (#267)
Co-authored-by: Tobias Gruetzmacher <tobias-git@23.gs>
This commit is contained in:
parent
e6b04698e9
commit
65f3c8be3c
1 changed files with 11 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
from re import compile, escape, MULTILINE
|
from re import compile, escape, MULTILINE
|
||||||
|
|
||||||
from ..util import tagre
|
from ..util import tagre
|
||||||
from ..scraper import _BasicScraper, _ParserScraper
|
from ..scraper import BasicScraper, _BasicScraper, _ParserScraper
|
||||||
from ..helpers import regexNamer, bounceStarter, indirectStarter
|
from ..helpers import regexNamer, bounceStarter, indirectStarter
|
||||||
from .common import WordPressScraper, WordPressNavi, WordPressWebcomic
|
from .common import WordPressScraper, WordPressNavi, WordPressWebcomic
|
||||||
|
|
||||||
|
@ -377,5 +377,15 @@ class ATaleOfTails(WordPressScraper):
|
||||||
adult = True
|
adult = True
|
||||||
|
|
||||||
|
|
||||||
|
class AwkwardZombie(BasicScraper):
|
||||||
|
url = 'https://www.awkwardzombie.com/'
|
||||||
|
rurl = escape(url)
|
||||||
|
stripUrl = url + 'awkward-zombie/%s'
|
||||||
|
firstStripUrl = stripUrl % 'coin-battle'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
|
||||||
|
prevSearch = compile(tagre("a", "href", r'(%sawkward-zombie/[a-zA-Z-]+)' % rurl, before="prev"))
|
||||||
|
help = 'Index format: variable :('
|
||||||
|
|
||||||
|
|
||||||
class AxeCop(WordPressScraper):
|
class AxeCop(WordPressScraper):
|
||||||
url = 'http://axecop.com/comic/season-two/'
|
url = 'http://axecop.com/comic/season-two/'
|
||||||
|
|
Loading…
Reference in a new issue