diff --git a/dosagelib/plugins/o.py b/dosagelib/plugins/o.py index 25ff1985b..0ba5e8bd9 100644 --- a/dosagelib/plugins/o.py +++ b/dosagelib/plugins/o.py @@ -80,6 +80,17 @@ class OnTheEdge(_BasicScraper): help = 'Index format: nnn (unpadded)' +class OnTheFasttrack(_BasicScraper): + url = 'http://www.onthefastrack.com/' + rurl = escape(url) + stripUrl = url + '/?webcomic1=%s' + firstStripUrl = stripUrl % '2010-08-09' + imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+-\d+-\d+\.[^"]+)' % rurl)) + prevSearch = compile(tagre("a", "href", r'(%s\?webcomic1=[^"]+)' % rurl, after="prev")) + description = u'On The Fasttrack by Bill Holbrook' + help = 'Index format: yyyy-mm-dd' + + class OneQuestion(_BasicScraper): url = 'http://onequestioncomic.com/' stripUrl = url + 'comic.php?strip_id=%s' @@ -117,12 +128,3 @@ class OverCompensating(_BasicScraper): imageSearch = compile(r']+?> \<\-  ') help = 'Index format: yyyymmdd' - -class OnTheFasttrack(_BasicScraper): - description = u"On The Fastrack" - url = 'http://www.onthefastrack.com/' - stripUrl = url + '/?webcomic1=%s' - firstStripUrl = stripUrl % '2010-08-09' - imageSearch = compile(r'