Add TracesOfThePast (SFW/NSFW)

This commit is contained in:
Techwolf 2019-06-29 18:07:30 -07:00 committed by Tobias Gruetzmacher
parent 57046e23ca
commit 8e8d5e5723

View file

@ -14,7 +14,7 @@ except ImportError:
from ..scraper import _BasicScraper, _ParserScraper
from ..helpers import indirectStarter, xpath_class
from ..util import tagre
from .common import _ComicControlScraper, _TumblrScraper, _WordPressScraper, _WPNavi
from .common import _ComicControlScraper, _TumblrScraper, _WordPressScraper, _WPNavi, _WPNaviIn
class TalesOfTheQuestor(_ParserScraper):
@ -173,6 +173,26 @@ class ToonHole(_WordPressScraper):
return url in (self.url + "comic/if-game-of-thrones-was-animated/",)
class TracesOfThePast(_WPNaviIn):
baseUrl = 'http://rickgriffinstudios.com/'
url = baseUrl + 'in-the-new-age/'
stripUrl = baseUrl + 'comic-post/%s/'
firstStripUrl = stripUrl % 'totp-page-1'
latestSearch = '//a[contains(@title, "Permanent Link")]'
starter = indirectStarter
class TracesOfThePastNSFW(_WPNaviIn):
name = 'TracesOfThePast/NSFW'
baseUrl = 'http://rickgriffinstudios.com/'
url = baseUrl + 'in-the-new-age/'
stripUrl = baseUrl + 'comic-post/%s/'
firstStripUrl = stripUrl % 'totp-page-1-nsfw'
latestSearch = '//a[contains(@title, "NSFW")]'
starter = indirectStarter
adult = True
class TracyAndTristan(_BasicScraper):
url = 'http://tandt.thecomicseries.com/'
rurl = escape(url)