Add IslaAukate and IslaAukateColor
This commit is contained in:
parent
dd6e536a55
commit
6d76193a9f
1 changed files with 24 additions and 1 deletions
|
@ -7,7 +7,7 @@ from __future__ import absolute_import, division, print_function
|
|||
|
||||
from re import compile, escape
|
||||
|
||||
from ..scraper import _BasicScraper
|
||||
from ..scraper import _BasicScraper, _ParserScraper
|
||||
from ..util import tagre
|
||||
from .common import _WordPressScraper, _WPNavi
|
||||
|
||||
|
@ -52,5 +52,28 @@ class IrregularWebcomic(_BasicScraper):
|
|||
help = 'Index format: nnn'
|
||||
|
||||
|
||||
class IslaAukate(_ParserScraper):
|
||||
url = 'https://overlordcomic.com/archive/default/latest'
|
||||
stripUrl = 'https://overlordcomic.com/archive/default/pages/%s'
|
||||
firstStripUrl = stripUrl % '001'
|
||||
imageSearch = '//div[@id="comicpage"]/img'
|
||||
prevSearch = '//nav[@class="comicnav"]/a[text()="Prev"]'
|
||||
|
||||
|
||||
class IslaAukateColor(_ParserScraper):
|
||||
url = 'https://overlordcomic.com/archive/color/latest'
|
||||
stripUrl = 'https://overlordcomic.com/archive/color/pages/%s'
|
||||
firstStripUrl = stripUrl % '001'
|
||||
imageSearch = '//div[@id="comicpage"]/img'
|
||||
prevSearch = '//nav[@class="comicnav"]/a[text()="Prev"]'
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
# Fix filenames of early comics
|
||||
filename = imageUrl.rsplit('/', 1)[-1]
|
||||
if filename[0].isdigit():
|
||||
filename = 'Aukate' + filename
|
||||
return filename
|
||||
|
||||
|
||||
class ItsWalky(_WordPressScraper):
|
||||
url = 'http://www.itswalky.com/'
|
||||
|
|
Loading…
Reference in a new issue