Strip whitespace from image text.

This commit is contained in:
Bastian Kleineidam 2013-12-04 18:07:13 +01:00
parent 0378c9d855
commit 7343932a5a

View file

@ -127,7 +127,7 @@ class _BasicScraper(object):
if self.textSearch:
text = fetchText(url, data, self.textSearch)
if text:
text = unescape(text)
text = unescape(text).strip()
else:
text = None
return ComicStrip(self.getName(), url, imageUrls, self.namer, self.session, text=text)