Fix comic searching.

This commit is contained in:
Bastian Kleineidam 2013-03-25 19:48:01 +01:00
parent bafe981917
commit 940a04b499

View file

@ -7,7 +7,10 @@ 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[^"]+)'))
_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]+)')),
)
_prevSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="prev"))
_nextSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="next"))