diff --git a/doc/changelog.txt b/doc/changelog.txt index 8815efdc7..d1a7d9631 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -8,6 +8,9 @@ Features: Thanks to Null000 for the patches. Closes: GH bug #48 +Fixes: +- comics: Get larger images from GoComics. + Dosage 2.8 (released 8.12.2013) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index b55ac774e..4a3468e0b 100644 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -7,7 +7,10 @@ from ..scraper import make_scraper from ..util import tagre from ..helpers import bounceStarter -_imageSearch = compile(tagre("meta", "content", r'(http://assets\.amuniversal\.com/[0-9a-f]+)', before="og:image")) +_imageSearch = ( + compile(tagre("img", "src", r'(http://assets\.amuniversal\.com/[0-9a-f]+\?width=\d+)')), + 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"))