From 142c418dc05973e072a16b55f7e7d4183b6e014e Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 29 Nov 2013 20:27:11 +0100 Subject: [PATCH] Store alt text from xkcd comics. --- dosagelib/plugins/x.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dosagelib/plugins/x.py b/dosagelib/plugins/x.py index 5493b3771..a8be410b6 100644 --- a/dosagelib/plugins/x.py +++ b/dosagelib/plugins/x.py @@ -18,6 +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'([^"]+)')) adult = True @classmethod