Fix GoComics image URL.

This commit is contained in:
Bastian Kleineidam 2013-11-14 21:30:51 +01:00
parent ce97e1e288
commit f6fc604745

View file

@ -7,10 +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]+\?width[^"]+)')),
compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+)')),
)
_imageSearch = compile(tagre("meta", "content", r'(http://assets\.amuniversal\.com/[0-9a-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"))