You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/weili/Library/Python/3.8/bin/sound-down", line 8, in
sys.exit(main())
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/sound_downloader/scripts/sound_down.py", line 19, in main
downloader.download_audios()
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/sound_downloader/downloader.py", line 52, in download_audios
video = pafy.new(link)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/pafy.py", line 125, in new
return Pafy(url, basic, gdata, signature, size, callback, ydl_opts)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_youtube_dl.py", line 29, in init
super(YtdlPafy, self).init(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_shared.py", line 95, in init
self._fetch_basic()
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_youtube_dl.py", line 41, in _fetch_basic
raise IOError(str(e).replace('YouTube said', 'Youtube says'))
OSError: ERROR: ye4jAQ0uxcQ: Youtube says: HTTP is not supported.
The text was updated successfully, but these errors were encountered:
I found a similar issue reported on another YouTube-related project: mps-youtube/yewtube#986
Looks like the pafy library is the problem, and the issue is fixed in a later version. I quote:
For anyone still facing this problem, upgrade your pafy to v0.5.5 or greater with: $ pip3 install pafy -U
Unfortunately this didn't work for me (pip upgraded pafy to 0.5.5). Now I am getting the error message OSError: ERROR: 39svBN954-M: Youtube says: Invalid parameters.
Traceback (most recent call last):
File "/Users/weili/Library/Python/3.8/bin/sound-down", line 8, in
sys.exit(main())
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/sound_downloader/scripts/sound_down.py", line 19, in main
downloader.download_audios()
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/sound_downloader/downloader.py", line 52, in download_audios
video = pafy.new(link)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/pafy.py", line 125, in new
return Pafy(url, basic, gdata, signature, size, callback, ydl_opts)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_youtube_dl.py", line 29, in init
super(YtdlPafy, self).init(*args, **kwargs)
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_shared.py", line 95, in init
self._fetch_basic()
File "/Users/weili/Library/Python/3.8/lib/python/site-packages/pafy/backend_youtube_dl.py", line 41, in _fetch_basic
raise IOError(str(e).replace('YouTube said', 'Youtube says'))
OSError: ERROR: ye4jAQ0uxcQ: Youtube says: HTTP is not supported.
The text was updated successfully, but these errors were encountered: