From 08175d28c9dae1a339ba002bb22e9225ab666547 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 31 Jul 2014 21:27:49 +0200 Subject: [PATCH] Fix Ruthe (see #73). --- dosagelib/plugins/r.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/r.py b/dosagelib/plugins/r.py index 2b462013b..1d1e6f0db 100644 --- a/dosagelib/plugins/r.py +++ b/dosagelib/plugins/r.py @@ -96,6 +96,6 @@ class Ruthe(_BasicScraper): stripUrl = url + 'index.php?pic=%s&sort=datum&order=ASC' firstStripUrl = stripUrl % '1' lang = 'de' - imageSearch = compile(tagre("img", "src", r'(cartoons/strip_\d+[^"]+)')) - prevSearch = compile(tagre("a", "href", r'(index\.php\?pic=[^"]+)', before="b_back")) + imageSearch = compile(tagre("img", "src", r'(/?cartoons/strip_\d+[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(/cartoon/\d+/datum/asc/)')+'vorheriger') help = 'Index format: number'