2020-04-18 11:45:44 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
2016-10-28 22:21:41 +00:00
|
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
2014-01-05 15:50:57 +00:00
|
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
2022-05-28 15:52:42 +00:00
|
|
|
# Copyright (C) 2015-2022 Tobias Gruetzmacher
|
2020-01-13 06:34:05 +00:00
|
|
|
# Copyright (C) 2019-2020 Daniel Ring
|
2022-06-06 10:08:32 +00:00
|
|
|
from .common import WordPressScraper, WordPressWebcomic
|
2016-04-01 22:14:31 +00:00
|
|
|
|
|
|
|
|
2022-06-06 10:08:32 +00:00
|
|
|
class YAFGC(WordPressScraper):
|
2021-08-14 15:17:38 +00:00
|
|
|
baseUrl = 'https://www.yafgc.net/'
|
|
|
|
url = baseUrl + '?latest'
|
|
|
|
stripUrl = baseUrl + 'comic/%s'
|
|
|
|
firstStripUrl = stripUrl % 'bob-meets-gren'
|
2019-08-27 07:54:52 +00:00
|
|
|
|
2021-08-14 15:17:38 +00:00
|
|
|
def __init__(self, name):
|
|
|
|
super().__init__(name)
|
|
|
|
self.session.add_throttle('www.yafgc.net', 3.0, 15.5)
|
2019-08-27 07:54:52 +00:00
|
|
|
|
2022-05-28 15:52:42 +00:00
|
|
|
|
2022-06-06 10:08:32 +00:00
|
|
|
class YoshSaga(WordPressWebcomic):
|
2019-08-27 07:54:52 +00:00
|
|
|
url = 'https://www.yoshsaga.com/'
|
|
|
|
stripUrl = url + 'comic/%s/'
|
|
|
|
firstStripUrl = stripUrl % 'introduction'
|