Add DesertFox
This commit is contained in:
parent
81b92a8c18
commit
af44479b5f
1 changed files with 16 additions and 0 deletions
|
@ -134,6 +134,22 @@ class DerTodUndDasMaedchen(_ParserScraper):
|
||||||
lang = 'de'
|
lang = 'de'
|
||||||
|
|
||||||
|
|
||||||
|
class DesertFox(_ParserScraper):
|
||||||
|
url = 'https://www.desertfoxcomics.net/'
|
||||||
|
stripUrl = url + 'desertfox/comic/%s/'
|
||||||
|
firstStripUrl = stripUrl % 'origins-1'
|
||||||
|
imageSearch = '//div[@class="webcomic-image"]//img'
|
||||||
|
prevSearch = '//a[contains(@class, "previous-webcomic-link")]'
|
||||||
|
|
||||||
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
# Fix inconsistent filenames
|
||||||
|
filename = imageUrl.rsplit('/', 1)[-1]
|
||||||
|
filename = filename.replace('Pg', 'Page').replace('Desert-Fox', '')
|
||||||
|
if 'origins' in pageUrl:
|
||||||
|
filename = filename.replace('Page-', 'Page-0-')
|
||||||
|
return filename
|
||||||
|
|
||||||
|
|
||||||
class DieFruehreifen(_BasicScraper):
|
class DieFruehreifen(_BasicScraper):
|
||||||
url = 'http://www.die-fruehreifen.de/index.php'
|
url = 'http://www.die-fruehreifen.de/index.php'
|
||||||
stripUrl = url + '?id=%s&order=DESC'
|
stripUrl = url + '?id=%s&order=DESC'
|
||||||
|
|
Loading…
Reference in a new issue