Fix ButterSafe
This commit is contained in:
parent
f31c0c681d
commit
dc41c318e9
1 changed files with 4 additions and 6 deletions
|
@ -309,12 +309,10 @@ class ButternutSquash(_BasicScraper):
|
||||||
help = 'Index format: yyyy/mm/dd/strip-name-author-name'
|
help = 'Index format: yyyy/mm/dd/strip-name-author-name'
|
||||||
|
|
||||||
|
|
||||||
class ButterSafe(_BasicScraper):
|
class ButterSafe(_ParserScraper):
|
||||||
url = 'http://buttersafe.com/'
|
url = 'https://www.buttersafe.com/'
|
||||||
rurl = escape(url)
|
|
||||||
stripUrl = url + '%s/'
|
stripUrl = url + '%s/'
|
||||||
firstStripUrl = stripUrl % '2007/04/03/breakfast-sad-turtle'
|
firstStripUrl = stripUrl % '2007/04/03/breakfast-sad-turtle'
|
||||||
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
|
imageSearch = '//div[@id="comic"]/img'
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s\d+\d+/\d+/\d+/[^"]+)' % rurl,
|
prevSearch = '//a[@rel="prev"]'
|
||||||
after="prev"))
|
|
||||||
help = 'Index format: yyyy/mm/dd/stripname'
|
help = 'Index format: yyyy/mm/dd/stripname'
|
||||||
|
|
Loading…
Reference in a new issue