fixing CorydonCafe
This commit is contained in:
parent
c3abb93e99
commit
529a41397a
1 changed files with 4 additions and 5 deletions
|
@ -243,13 +243,12 @@ class CoolCatStudio(_BasicScraper):
|
||||||
help = 'Index format: ccsyyyymmdd'
|
help = 'Index format: ccsyyyymmdd'
|
||||||
|
|
||||||
|
|
||||||
class CorydonCafe(_BasicScraper):
|
class CorydonCafe(_ParserScraper):
|
||||||
url = 'http://corydoncafe.com/'
|
url = 'http://corydoncafe.com/'
|
||||||
starter = indirectStarter(url,
|
starter = indirectStarter(url, '//ul//a')
|
||||||
compile(tagre("a", "href", r'(\./\d+/[^"]+)')))
|
|
||||||
stripUrl = url + '%s.php'
|
stripUrl = url + '%s.php'
|
||||||
imageSearch = compile(tagre("img", "src", r"(\./[^']+)", quote="'"))
|
imageSearch = "//center[2]//img"
|
||||||
prevSearch = compile(tagre("a", "href", r"(http://corydoncafe\.com/\d+/[^']+)", after="prev", quote="'"))
|
prevSearch = '//a[@title="prev"]'
|
||||||
help = 'Index format: yyyy/stripname'
|
help = 'Index format: yyyy/stripname'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue