vitiko98 / qobuz-dl

A complete Lossless and Hi-Res music downloader for Qobuz
GNU General Public License v3.0
1.45k stars 192 forks source link

Unicode Error while downloading, character '\xf3' #267

Open PetrPetrov00 opened 6 months ago

PetrPetrov00 commented 6 months ago

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Scripts\qobuz-dl.exe__main__.py", line 7, in File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\cli.py", line 176, in main _handle_commands(qobuz, arguments) File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\cli.py", line 83, in _handle_commands qobuz.download_list_of_urls(arguments.SOURCE) File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\core.py", line 180, in download_list_of_urls self.handle_url(url) File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\core.py", line 166, in handle_url make_m3u(new_path) File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\utils.py", line 73, in make_m3u pl.write("\n\n".join(track_list)) File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1251.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeEncodeError: 'charmap' codec can't encode character '\xf3' in position 5319: character maps to