Add AwkwardZombie (#267)

Co-authored-by: Tobias Gruetzmacher <tobias-git@23.gs>
This commit is contained in:
Typhonragewind 2023-06-01 22:59:11 +01:00 committed by GitHub
parent e6b04698e9
commit 65f3c8be3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
from re import compile, escape, MULTILINE
from ..util import tagre
from ..scraper import _BasicScraper, _ParserScraper
from ..scraper import BasicScraper, _BasicScraper, _ParserScraper
from ..helpers import regexNamer, bounceStarter, indirectStarter
from .common import WordPressScraper, WordPressNavi, WordPressWebcomic
@ -377,5 +377,15 @@ class ATaleOfTails(WordPressScraper):
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):
url = 'http://axecop.com/comic/season-two/'