From 0ee5c08771180fb2c2ce4ff30e39cab211e7002a Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 8 Jun 2014 10:06:34 +0200 Subject: [PATCH] Match zoom image for GoComics pages. --- dosagelib/plugins/gocomics.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index 12d013e82..6d50a546c 100755 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -8,8 +8,9 @@ from ..util import tagre from ..helpers import bounceStarter _imageSearch = ( - compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+\?width=900)')), - compile(tagre("meta", "content", r'(http://assets\.amuniversal\.com/[0-9a-f]+)', before="og:image")), + compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-fA-F]+)', before='alt="[0-9a-fA-F]+"')), + compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-fA-F]+)')), + compile(tagre("meta", "content", r'(http://assets\.amuniversal\.com/[0-9a-fA-F]+)', before="og:image")), ) _prevSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="prev")) _nextSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="next"))