diff --git a/dosagelib/plugins/c.py b/dosagelib/plugins/c.py index 63f61a531..7900e2e7f 100755 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -268,15 +268,6 @@ class CorydonCafe(_BasicScraper): return pageUrl.split('/')[-1].split('.')[0] -class CourtingDisaster(_BasicScraper): - url = 'http://www.courting-disaster.com/' - stripUrl = url + 'archive/%s.html' - firstStripUrl = stripUrl % '20050112' - imageSearch = compile(tagre("img", "src", r'(/comics/[^"]+)')) - prevSearch = compile(tagre("a", "href", r'(/archive/\d+\.html)') + tagre("img", "src", r'/images/previous\.gif')) - help = 'Index format: yyyymmdd' - - class CowboyJedi(_BasicScraper): url = 'http://www.cowboyjedi.com/' rurl = escape(url) diff --git a/dosagelib/plugins/comicpress.py b/dosagelib/plugins/comicpress.py index 5e5ef3048..f23738130 100644 --- a/dosagelib/plugins/comicpress.py +++ b/dosagelib/plugins/comicpress.py @@ -15,4 +15,5 @@ def add(name, url, firstUrl=None, lang=None): attrs['firstUrl'] = url + firstUrl globals()[name] = make_scraper(name, _ParserScraper, **attrs) +add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/') add('Hipsters', 'http://www.hipsters-comic.com/', 'comic/hip01/')