-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
I have some code:
from pynliner import Pynliner
p=Pynliner().from_url('https://saturn.pl/')
p.run()
In Python 3:
"venv3/lib/python3.5/site-packages/pynliner/__init__.py", line 179, in _get_external_styles
self.style_string += self._get_url(url)
TypeError: Can't convert 'bytes' object to str implicitly
In Python 2:
"venv2/local/lib/python2.7/site-packages/pynliner/__init__.py", line 179, in _get_external_styles
self.style_string += self._get_url(url)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
>>> pynliner.__version__
'0.7.1'
Please help me achieve result.
Metadata
Metadata
Assignees
Labels
No labels