2020-02-06, 13:39
Hi,
script.module.feedparser-5.2.1 fails on import with a SyntaxError when using Kodi v19>
The same 5.2.1 version of feedparser works without any issues on my system's Python3, which I assume is versions ahead of Kodi's.
It seems to me there may be an easy fix with a mod to the feedparser.py but... I haven't been able to figure out the invalid syntax.
Any thoughts?
script.module.feedparser-5.2.1 fails on import with a SyntaxError when using Kodi v19>
Quote:\script.module.feedparser\lib\feedparser.py", line 1312
emailmatch = re.search(ur'''(([a-zA-Z0-9\_\-\.\+]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?))(\?subject=\S+)?''', author)
^
SyntaxError: invalid syntax
The same 5.2.1 version of feedparser works without any issues on my system's Python3, which I assume is versions ahead of Kodi's.
It seems to me there may be an easy fix with a mod to the feedparser.py but... I haven't been able to figure out the invalid syntax.
Any thoughts?