Fix Galaxion

This commit is contained in:
Techwolf 2019-07-28 17:59:37 -07:00 committed by Tobias Gruetzmacher
parent 5705b1a3eb
commit dd8200312a

View file

@ -13,13 +13,11 @@ from ..util import tagre
from .common import _ComicControlScraper, _WordPressScraper, _WPNavi
class Galaxion(_BasicScraper):
class Galaxion(_WPNavi):
url = 'http://galaxioncomics.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '1-comic/the-story-so-far/the-story-so-far'
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after="prev"))
multipleImagesPerStrip = True
help = 'Index format: n-comic/book-n/chapter-n/title-nnn'