Get correct images of gocomic strips.

This commit is contained in:
Bastian Kleineidam 2013-03-24 14:13:33 +01:00
parent 179ba7f49f
commit 9f08b21a7e

View file

@ -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"))