fixing CraftedFables
This commit is contained in:
parent
6efb79e7f6
commit
36c790fa4b
2 changed files with 3 additions and 12 deletions
|
@ -308,17 +308,6 @@ class CrimsonDark(_BasicScraper):
|
||||||
help = 'Index format: n (unpadded)'
|
help = 'Index format: n (unpadded)'
|
||||||
|
|
||||||
|
|
||||||
class CraftedFables(_BasicScraper):
|
|
||||||
url = 'http://www.craftedfables.com/'
|
|
||||||
baseUrl = 'http://www.caf-fiends.net/'
|
|
||||||
rurl = escape(baseUrl)
|
|
||||||
stripUrl = baseUrl + 'craftedfables/?p=%s'
|
|
||||||
imageSearch = compile(tagre("img", "src", r'(%scraftedfables/comics/[^"]+)' % rurl))
|
|
||||||
prevSearch = compile(tagre("a", "href", r'(%scraftedfables/[^"]+)' % rurl) +
|
|
||||||
tagre("span", "class", r"prev"))
|
|
||||||
help = 'Index format: nnn'
|
|
||||||
|
|
||||||
|
|
||||||
class CucumberQuest(_BasicScraper):
|
class CucumberQuest(_BasicScraper):
|
||||||
url = 'http://cucumber.gigidigi.com/'
|
url = 'http://cucumber.gigidigi.com/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
|
|
|
@ -9,7 +9,8 @@ def add(name, url, firstUrl=None, lang=None):
|
||||||
imageSearch='//div[@id="comic"]//img',
|
imageSearch='//div[@id="comic"]//img',
|
||||||
prevSearch=['//a[contains(text(), " Prev")]',
|
prevSearch=['//a[contains(text(), " Prev")]',
|
||||||
"//a[contains(concat(' ', @class, ' '), ' navi-prev ')]",
|
"//a[contains(concat(' ', @class, ' '), ' navi-prev ')]",
|
||||||
"//a[contains(concat(' ', @class, ' '), ' navi-prev-in ')]"]
|
"//a[contains(concat(' ', @class, ' '), ' navi-prev-in ')]",
|
||||||
|
"//a[contains(concat(' ', @class, ' '), ' navi-previous ')]"]
|
||||||
)
|
)
|
||||||
if lang:
|
if lang:
|
||||||
attrs['lang'] = lang
|
attrs['lang'] = lang
|
||||||
|
@ -24,6 +25,7 @@ add('BloodBound', 'http://bloodboundcomic.com/', 'comic/06112006/')
|
||||||
add('BratHalla', 'http://brat-halla.com/')
|
add('BratHalla', 'http://brat-halla.com/')
|
||||||
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('Catena', 'http://catenamanor.com/')
|
add('Catena', 'http://catenamanor.com/')
|
||||||
|
add('CraftedFables', 'http://www.caf-fiends.net/comicpress/')
|
||||||
add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/')
|
add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/')
|
||||||
add('Hipsters', 'http://www.hipsters-comic.com/', 'comic/hip01/')
|
add('Hipsters', 'http://www.hipsters-comic.com/', 'comic/hip01/')
|
||||||
add('IDreamOfAJeanieBottle', 'http://jeaniebottle.com/')
|
add('IDreamOfAJeanieBottle', 'http://jeaniebottle.com/')
|
||||||
|
|
Loading…
Reference in a new issue