diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index 343dd86e1..96bc727df 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -125,7 +125,7 @@ class Angels2200(_BasicScraper): latestUrl = 'http://www.janahoffmann.com/angels/' stripUrl = latestUrl + '%s' imageSearch = compile(tagre("img", "src", r"(http://www\.janahoffmann\.com/angels/comics/[^']+)")) - prevSearch = compile(tagre("a", "href", r'([^"]+)')+"« Previous")) + prevSearch = compile(tagre("a", "href", r'([^"]+)')+"« Previous") help = 'Index format: yyyy/mm/dd/part--comic-' diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index d577b35bf..9a6c3fcc4 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -1,10 +1,10 @@ # -*- coding: iso-8859-1 -*- # Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs -from re import compile, IGNORECASE, MULTILINE +from re import compile from ..scraper import _BasicScraper from ..helpers import bounceStarter, indirectStarter -from ..util import getQueryParams +from ..util import tagre, getQueryParams