fixing BloodBound

This commit is contained in:
Damjan Košir 2015-05-21 00:04:07 +12:00
parent dc2349951a
commit 8a245e1d10
2 changed files with 1 additions and 11 deletions

View file

@ -183,17 +183,6 @@ class Blip(_BasicScraper):
return prevUrl.replace("www.blipcomic.com", "blipcomic.com") return prevUrl.replace("www.blipcomic.com", "blipcomic.com")
class BloodBound(_BasicScraper):
adult = True
url = 'http://bloodboundcomic.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2006/06/06112006'
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after="prev"))
help = 'Index format: yyyy/mm/name'
class BMovieComic(_BasicScraper): class BMovieComic(_BasicScraper):
url = 'http://www.bmoviecomic.com/' url = 'http://www.bmoviecomic.com/'
stripUrl = url + '?cid=%s' stripUrl = url + '?cid=%s'

View file

@ -16,6 +16,7 @@ def add(name, url, firstUrl=None, lang=None):
globals()[name] = make_scraper(name, _ParserScraper, **attrs) globals()[name] = make_scraper(name, _ParserScraper, **attrs)
add('BloodBound', 'http://bloodboundcomic.com/', 'comic/06112006/')
add('BroodHollow', 'http://broodhollow.chainsawsuit.com/', 'page/2012/10/06/book-1-curious-little-thing') add('BroodHollow', 'http://broodhollow.chainsawsuit.com/', 'page/2012/10/06/book-1-curious-little-thing')
add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/') add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/')
add('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/') add('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/')