fixing OnTheEdge

This commit is contained in:
Damjan Košir 2015-05-20 23:50:18 +12:00
parent 80b783c016
commit fd60065591
2 changed files with 2 additions and 11 deletions

View file

@ -16,4 +16,5 @@ def add(name, url, firstUrl=None, lang=None):
globals()[name] = make_scraper(name, _ParserScraper, **attrs) globals()[name] = make_scraper(name, _ParserScraper, **attrs)
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('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/')
add('Hipsters', 'http://www.hipsters-comic.com/', 'comic/hip01/')

View file

@ -75,16 +75,6 @@ class OmakeTheater(_ParserScraper):
help = 'Index format: number (unpadded)' help = 'Index format: number (unpadded)'
class OnTheEdge(_BasicScraper):
url = 'http://ontheedgecomics.com/'
rurl = escape(url)
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % 'ote0001'
imageSearch = compile(r'<img src="(%scomics/.+?)"' % rurl)
prevSearch = compile(r'<a href="([^"]+)" rel="prev">')
help = 'Index format: nnn (unpadded)'
class OnTheFastrack(_BasicScraper): class OnTheFastrack(_BasicScraper):
url = 'http://onthefastrack.com/' url = 'http://onthefastrack.com/'
stripUrl = url + 'comics/%s' stripUrl = url + 'comics/%s'