Add Ginpu

This commit is contained in:
Techwolf 2019-07-21 16:47:14 -07:00 committed by Tobias Gruetzmacher
parent c5f57288ec
commit 28bf733ca5

View file

@ -10,7 +10,7 @@ from re import compile, escape
from ..scraper import _BasicScraper, _ParserScraper
from ..helpers import bounceStarter, indirectStarter
from ..util import tagre
from .common import _ComicControlScraper, _WordPressScraper
from .common import _ComicControlScraper, _WordPressScraper, _WPNavi
class Galaxion(_BasicScraper):
@ -68,6 +68,16 @@ class GeeksNextDoor(_BasicScraper):
help = 'Index format: yyyy-mm-dd'
class Ginpu(_WPNavi):
url = 'http://www.ginpu.us/'
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % 'filler-2'
def namer(self, imageUrl, pageUrl):
filename = imageUrl.rsplit('/', 3)
return '%s-%s_%s' % (filename[1], filename[2], filename[3])
class GirlGenius(_BasicScraper):
baseUrl = 'http://www.girlgeniusonline.com/'
rurl = escape(baseUrl)