From 7dbd14f934b364453c8e647b2549b94e5eb70dad Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 19 Nov 2012 21:20:34 +0100 Subject: [PATCH] Fix syntax errors. --- dosagelib/plugins/a.py | 2 +- dosagelib/plugins/d.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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