Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning 404 Errors, despite valid URLs for Youtube-DL and Valid API Key #1169

Closed
AyoungDukie opened this issue Jun 30, 2021 · 1 comment
Closed

Comments

@AyoungDukie
Copy link

Despite a valid Youtube API key, many videos/soundtracks fail to play now, simply returning 404 not found errors. Appears potentially related to this issue in pafy mps-youtube/pafy#290

Issue / Suggestion

Appears to fail to fetch some URLs, giving a 404 not found error. I checked my API dashboard to verify, and the api itself seems to not be showing errors. It also works for some videos, which wouldn't seem to be the case if it was related to the API quota issue that is usually a problem.

Additionally, grabbing the url with x # and then using youtube-dl directly seems to work.

Steps to reproduce:
Search \lofi coding beats
Select entry instead for "Lofi Coding Mix 1 [Stay Home Edition]" (was entry 5 for me)
-> video loads and plays
Select entry for "4 AM Coding Session - Lofi Hip Hop Mix [Code - Relax - Study]" (was entry 6 for me)
-> returns 404 error with Problem playing last item: HTTP Error 404: Not Found
URL of video:
https://youtube.com/watch?v=1YlxJrSaqPw

Your Environment

mpsyt version      : 0.2.8
   notes           : released 17 February 2018
pafy version       : 0.5.5 (youtube-dl backend)
youtube-dl version : 2021.06.06
Python version     : 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
Processor          : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
Machine type       : AMD64
Architecture       : 64bit, WindowsPE
Platform           : Windows-10-10.0.19043-SP0
sys.stdout.enc     : utf-8
default enc        : utf-8
Config dir         : C:\Users\jflynn\AppData\Roaming\mps-youtube
env:TERM           : xterm-256color
@johanbluecreek
Copy link

I had this problem for any video I tried to play. Looking at #1143, I switched to development branch

pip3 install --user -U git+https://github.com/mps-youtube/mps-youtube.git

which solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants