-
-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Version Info
- Ytmdl version:
2024.08.15.1 - Youtube-dl version:
PUT VERSION HERE
How Ytmdl was installed?
pip
Console Log
Traceback (most recent call last):
C:\Users\Lockie>ytmdl Hello
==> Searching to see if already present in C:\Users\Lockie\Music
==> Searching Youtube for Hello
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\ytmdl.exe\__main__.py", line 7, in <module>
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ytmdl\main.py", line 614, in entry
extract_data()
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ytmdl\main.py", line 609, in extract_data
main(args)
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ytmdl\main.py", line 275, in main
link, yt_title = search(song_name=song_name, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ytmdl\core.py", line 52, in search
data = yt.search(song_name, not args.disable_metaadd,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ytmdl\yt.py", line 264, in search
results = VideosSearch(query, limit=lim).result()["result"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\youtubesearchpython\search.py", line 148, in __init__
self.sync_create()
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\youtubesearchpython\core\search.py", line 29, in sync_create
self._makeRequest()
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\youtubesearchpython\core\search.py", line 51, in _makeRequest
request = self.syncPostRequest()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lockie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\youtubesearchpython\core\requests.py", line 20, in syncPostRequest
return httpx.post(
^^^^^^^^^^^
TypeError: post() got an unexpected keyword argument 'proxies'```
## Description
Reinstalled twice, not very experienced with programming stuff, ytmdl fails when trying to download music. The error occurs when I try to search for a song, and it appears to be related to a TypeError with the httpx.post(). The error message states that an unexpected keyword argument proxies was passed. How do I fix this?Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working