Strip whitespace from image text.
This commit is contained in:
parent
0378c9d855
commit
7343932a5a
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class _BasicScraper(object):
|
||||||
if self.textSearch:
|
if self.textSearch:
|
||||||
text = fetchText(url, data, self.textSearch)
|
text = fetchText(url, data, self.textSearch)
|
||||||
if text:
|
if text:
|
||||||
text = unescape(text)
|
text = unescape(text).strip()
|
||||||
else:
|
else:
|
||||||
text = None
|
text = None
|
||||||
return ComicStrip(self.getName(), url, imageUrls, self.namer, self.session, text=text)
|
return ComicStrip(self.getName(), url, imageUrls, self.namer, self.session, text=text)
|
||||||
|
|
Loading…
Reference in a new issue