Fix xkcd text regex. Closes #46
This commit is contained in:
parent
ce64d7f1ef
commit
599672acbf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue