Fix BookOfBiff

This commit is contained in:
Tobias Gruetzmacher 2020-09-29 22:27:32 +02:00
parent bbac2f99a7
commit 5863ddb73b

View file

@ -237,13 +237,10 @@ class BobWhite(_ParserScraper):
prevSearch = '//a[@rel="previous"]' prevSearch = '//a[@rel="previous"]'
class BookOfBiff(_BasicScraper): class BookOfBiff(_WordPressScraper):
url = 'http://thebookofbiff.com/' url = 'https://thebookofbiff.com/'
stripUrl = url + '%s/' stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % '2006/01/02/4' firstStripUrl = stripUrl % '4'
imageSearch = compile(tagre("img", "src", r'([^"]+/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after="Previous"))
help = 'Index format: yyyy/mm/dd/stripnum-stripname'
class BoredAndEvil(_BasicScraper): class BoredAndEvil(_BasicScraper):