fixed Alice

This commit is contained in:
Damjan Košir 2015-06-01 15:15:34 +12:00
parent a08ad2dc80
commit 545a67111e
2 changed files with 1 additions and 9 deletions

View file

@ -122,15 +122,6 @@ class ALessonIsLearned(_BasicScraper):
help = 'Index format: nnn'
class Alice(_BasicScraper):
url = 'http://alice.alicecomics.com/'
rurl = escape(url)
stripUrl = url + '%s/'
imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/\d+-\d+-\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%salicecomics/[^"]+)' % rurl, after="previous"))
help = 'Index format: name'
class AlienLovesPredator(_BasicScraper):
url = 'http://alienlovespredator.com/'
stripUrl = url + '%s/'

View file

@ -23,6 +23,7 @@ def add(name, url, firstUrl=None, starter=None, lang=None):
add('1997', 'http://1977thecomic.com/')
add('Alice', 'http://www.alicecomics.com/', starter=indirectStarter('http://www.alicecomics.com/','//a[text()="Latest Alice!"]'))
add('Amya', 'http://www.amyachronicles.com/')
add('AxeCop', 'http://axecop.com/comic/season-two/')
add('Bardsworth','http://www.bardsworth.com/')