BloomingFaeries: Remove imageUrlModifier (not needed).
This commit is contained in:
parent
abd80a1d35
commit
d72ceb92d5
1 changed files with 1 additions and 6 deletions
|
@ -157,15 +157,10 @@ class BloomingFaeries(_BasicScraper):
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
stripUrl = url + 'comic/public/%s/'
|
stripUrl = url + 'comic/public/%s/'
|
||||||
firstStripUrl = stripUrl % "pit-stop"
|
firstStripUrl = stripUrl % "pit-stop"
|
||||||
imageSearch = compile(tagre("img", "src", r'http://www.bloomingfaeries.com/wp-content/uploads([^"]+)', after='title'))
|
imageSearch = compile(tagre("img", "src", r'(http://www.bloomingfaeries.com/wp-content/uploads[^"]+)', after='title'))
|
||||||
prevSearch = compile(tagre("a", "href", r'([^"]+)', after='comic-nav-base comic-nav-previous'))
|
prevSearch = compile(tagre("a", "href", r'([^"]+)', after='comic-nav-base comic-nav-previous'))
|
||||||
help = 'Index format: stripname'
|
help = 'Index format: stripname'
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def imageUrlModifier(cls, imageUrl, data):
|
|
||||||
if imageUrl:
|
|
||||||
return imageUrl.replace("http://www.bloomingfaeries.com/","http://www.bloomingfaeries.com/wp-content/uploads/")
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def namer(cls, imageUrl, pageUrl):
|
def namer(cls, imageUrl, pageUrl):
|
||||||
bf = imageUrl.split('/')
|
bf = imageUrl.split('/')
|
||||||
|
|
Loading…
Reference in a new issue