X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/c6030cecee302e61b7b1ada21676481c099728b4..e6e6c337ac79ea307329843153e477f5f4f784c8:/rss2maildir.py diff --git a/rss2maildir.py b/rss2maildir.py index b914286..2af32bc 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -151,7 +151,7 @@ class HTML2Text(HTMLParser): elif tag_name == u'a': for attr in attrs: if attr[0].lower() == u'href': - self.urls.append(attr[1]) + self.urls.append(attr[1].decode('utf-8')) self.curdata = self.curdata + u'`' self.opentags.append(tag_name) return