diff --git a/dosagelib/plugins/x.py b/dosagelib/plugins/x.py index fae1f2f51..51a42c3fd 100644 --- a/dosagelib/plugins/x.py +++ b/dosagelib/plugins/x.py @@ -18,7 +18,7 @@ class xkcd(_BasicScraper): prevSearch = compile(tagre("a", "href", r'(/\d+/)', before="prev")) help = 'Index format: n (unpadded)' description = u'A webcomic of romance, sarcasm, math, and language.' - textSearch = compile(tagre("img", "title", r'([^"]+)')) + textSearch = compile(tagre("img", "title", r'([^"]+)', before=r'http://imgs\.xkcd\.com/comics/')) adult = True @classmethod