From 940a04b499d959a692369ab670afc3fcd1c5808b Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 25 Mar 2013 19:48:01 +0100 Subject: [PATCH] Fix comic searching. --- dosagelib/plugins/gocomics.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index 9f457a353..5ee993890 100644 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -7,7 +7,10 @@ from ..scraper import make_scraper from ..util import tagre from ..helpers import bounceStarter -_imageSearch = compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+\?width[^"]+)')) +_imageSearch = ( + compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+\?width[^"]+)')), + compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+)')), +) _prevSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="prev")) _nextSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="next"))