Fix BoredAndEvil
This commit is contained in:
parent
5863ddb73b
commit
5afab71e7f
1 changed files with 6 additions and 7 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue