Add YoshSaga

This commit is contained in:
Techwolf 2019-08-27 00:54:52 -07:00 committed by Tobias Gruetzmacher
parent 3503a2bede
commit e54d153ca7

View file

@ -5,8 +5,17 @@
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..scraper import _ParserScraper
from .common import _WordPressScraper from .common import _WordPressScraper
class YAFGC(_WordPressScraper): class YAFGC(_WordPressScraper):
url = 'http://yafgc.net/' url = 'http://yafgc.net/'
class YoshSaga(_ParserScraper):
url = 'https://www.yoshsaga.com/'
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % 'introduction'
imageSearch = '//div[@class="webcomic-image"]//img'
prevSearch = '//a[contains(@class, "previous-webcomic-link")]'