2021-08-30 22:38:58 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# Copyright (C) 2021 Tobias Gruetzmacher
|
2022-06-06 10:08:32 +00:00
|
|
|
from .common import WordPressScraper
|
2021-08-30 22:38:58 +00:00
|
|
|
|
|
|
|
|
2022-06-06 10:08:32 +00:00
|
|
|
class KrisStraub(WordPressScraper):
|
2021-08-30 22:38:58 +00:00
|
|
|
prevSearch = '//a[text()="Previous"]'
|
|
|
|
endOfLife = True
|
|
|
|
help = 'Index format: yyyymmdd'
|
|
|
|
|
|
|
|
def __init__(self, name, firstDate):
|
|
|
|
super().__init__(name)
|
|
|
|
self.url = 'https://{}.krisstraub.com/'.format(name.lower())
|
|
|
|
self.stripUrl = self.url + '%s.shtml'
|
|
|
|
self.firstStripUrl = self.stripUrl % firstDate
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def getmodules(cls):
|
|
|
|
return (
|
|
|
|
cls('BroodHollow', '20121006'),
|
|
|
|
cls('ChainsawSuit', '20080810'),
|
|
|
|
cls('Starslip', '20050523'),
|
|
|
|
)
|