Store alt text from xkcd comics.

This commit is contained in:
Bastian Kleineidam 2013-11-29 20:27:11 +01:00
parent 0eaf9a3139
commit 142c418dc0

View file

@ -18,6 +18,7 @@ class xkcd(_BasicScraper):
prevSearch = compile(tagre("a", "href", r'(/\d+/)', before="prev")) prevSearch = compile(tagre("a", "href", r'(/\d+/)', before="prev"))
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
description = u'A webcomic of romance, sarcasm, math, and language.' description = u'A webcomic of romance, sarcasm, math, and language.'
textSearch = compile(tagre("img", "title", r'([^"]+)'))
adult = True adult = True
@classmethod @classmethod