From 9f08b21a7eb3564ea89edf655ba055ea40c369ff Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 24 Mar 2013 14:13:33 +0100 Subject: [PATCH] Get correct images of gocomic strips. --- dosagelib/plugins/gocomics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index bae853882..ff1aeffb4 100644 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -7,7 +7,7 @@ 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]+)')) +_imageSearch = compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+\?width[^"]+)')) _prevSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="prev")) _nextSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="next"))