Fix another bunch of comics

This commit is contained in:
Tobias Gruetzmacher 2024-02-16 00:20:20 +01:00
parent 89b38d450f
commit b495c51bcb
No known key found for this signature in database

View file

@ -34,16 +34,11 @@ class ParadigmShift(_BasicScraper):
help = 'Index format: custom' help = 'Index format: custom'
class ParallelUniversum(_BasicScraper): class ParallelUniversum(WordPressScraper):
url = 'http://www.paralleluniversum.net/' url = 'https://www.paralleluniversum.net/'
rurl = escape(url)
stripUrl = url + '%s/' stripUrl = url + '%s/'
firstStripUrl = stripUrl % '001-der-comic-ist-tot' firstStripUrl = stripUrl % '001-der-comic-ist-tot'
imageSearch = compile(tagre("img", "src", prevSearch = '//a[@rel="prev"]'
r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+/)' % rurl) +
tagre("span", "class", "prev"))
help = 'Index format: number-stripname'
lang = 'de' lang = 'de'
@ -95,14 +90,12 @@ class PebbleVersion(_ParserScraper):
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
class PennyAndAggie(_BasicScraper): class PennyAndAggie(ComicControlScraper):
url = 'http://pennyandaggie.com/' url = 'https://pixietrixcomix.com/penny-and-aggie'
rurl = escape(url) stripUrl = url + '/%s'
stripUrl = url + 'index.php?p=%s' firstStripUrl = stripUrl % '2004-09-06'
imageSearch = compile(tagre("img", "src", r'(http://www\.pennyandaggie\.com/comics/[^"]+)')) endOfLife = True
prevSearch = compile(tagre("a", "href", r"(index\.php\?p\=\d+)", quote="'") + help = 'Index format: yyyy-mm-dd'
tagre("img", "src", r'%simages/previous_day\.gif' % rurl, quote=""))
help = 'Index format: n (unpadded)'
class PennyArcade(_ParserScraper): class PennyArcade(_ParserScraper):
@ -117,19 +110,17 @@ class PennyArcade(_ParserScraper):
help = 'Index format: yyyy/mm/dd' help = 'Index format: yyyy/mm/dd'
class PeppermintSaga(WordPressNavi): class PeppermintSaga(WordPressScraper):
url = 'http://www.pepsaga.com/' url = 'http://www.pepsaga.com/'
stripUrl = url + '?p=%s' stripUrl = url + 'comics/%s/'
firstStripUrl = stripUrl % '3' firstStripUrl = stripUrl % 'the-sword-of-truth-vol1'
help = 'Index format: number'
adult = True adult = True
class PeppermintSagaBGR(WordPressNavi): class PeppermintSagaBGR(WordPressScraper):
url = 'http://bgr.pepsaga.com/' url = 'http://bgr.pepsaga.com/'
stripUrl = url + '?p=%s' stripUrl = url + '?comic=%s'
firstStripUrl = stripUrl % '4' firstStripUrl = stripUrl % '04172011'
help = 'Index format: number'
adult = True adult = True