Fix BoredAndEvil

This commit is contained in:
Tobias Gruetzmacher 2020-09-29 22:35:09 +02:00
parent 5863ddb73b
commit 5afab71e7f

View file

@ -243,14 +243,13 @@ class BookOfBiff(_WordPressScraper):
firstStripUrl = stripUrl % '4' firstStripUrl = stripUrl % '4'
class BoredAndEvil(_BasicScraper): class BoredAndEvil(_ParserScraper):
url = 'http://www.boredandevil.com/' url = 'http://orphanedcomics.com/boredandevil/'
stripUrl = url + '?date=%s' stripUrl = url + 'webcomic-%s.html'
firstStripUrl = stripUrl % '2004-06-07' firstStripUrl = stripUrl % '2004-06-07'
imageSearch = compile(tagre("img", "src", r'(strips/[^"]+)')) imageSearch = '//img[d:class("webcomic")]'
prevSearch = compile(r'First Comic.+<a href="(.+?)".+previous-on.gif') prevSearch = '//a[img[@title="Previous"]]'
latestSearch = prevSearch endOfLife = True
starter = indirectStarter
help = 'Index format: yyyy-mm-dd' help = 'Index format: yyyy-mm-dd'