Match zoom image for GoComics pages.

This commit is contained in:
Bastian Kleineidam 2014-06-08 10:06:34 +02:00
parent fbb198b524
commit 0ee5c08771

View file

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