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

Download by txt file doesn't work #289

Closed wugkqd closed 3 weeks ago

wugkqd commented 3 weeks ago

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\User\AppData\Local\Programs\Python\Python312\Scripts\qobuz-dl.exe__main__.py", line 7, in File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\cli.py", line 176, in main _handle_commands(qobuz, arguments) File "C:\Users\User\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\User\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\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\core.py", line 128, in handle_url url_type, item_id = get_url_info(url) ^^^^^^^^^^^^^^^^^ File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\qobuz_dl\utils.py", line 190, in get_url_info return r.groups() ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'groups'

When I use "os.system("qobuz-dl dl qobuz_file.txt")" in Python, the following error occurs when I run the command However, when I enter the commands directly in the console, it works normally.