vstavrinov / acestream_search

acestream m3u playlist, xml epg or json data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't print output to file

aanze opened this issue · comments

I can't print the results directly into a file which would be more practical than copy the terminal output as:
acestream_search > streams.m3u

will output the following error:
Traceback (most recent call last): File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python310\Scripts\acestream_search.exe\__main__.py", line 7, in <module> File "C:\Python310\lib\site-packages\acestream_search\acestream_search.py", line 335, in cli print(chunk) File "C:\Python310\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 8298-8301: character maps to <undefined>