-
Notifications
You must be signed in to change notification settings - Fork 43
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
Could not acquire the player response (age-restricted videos) #38
Comments
From what I know, youtube uses blob URLs. |
@aviallon welcome to For now, I fixed downloads of normal videos. Age-restricted videos don't work yet. Working quick fix: v0.3.5 |
If you mean age-restricted videos, then |
@89z Thank you, that looks really promising! One question regarding the Bearer token: When I understood the code correctly the auth token is acquired in Then, in |
We actually had a workaround for age-restricted videos using the Unfortunately, YouTube is slowly but steadily drifting away from this endpoint and towards API v1. In a best-case scenario, we would find another way of accessing age-restricted videos without requiring the user to log in. Especially, since this adds a whole new layer of complexity. Based on your answer I guess the answer to my previous question is: Yes, the user has to log in to download age-restricted videos using the OAuth solution. |
I did not state, that it's possible right now. That's the reason this issue exists since a recent API-change four days ago broke our code. Edit: I should add that this is not the first time this part of the code broke, so I still have hope there's a workaround. |
That actually sounds better than I expected, I will definitely try to implement it. |
Edit
The issue was partially fixed. For now only age-restricted or otherwise unavailable videos should fail to download.
If you encounter this problem with a 'normal' video, please let us know about it.
Old issue:
Apparently, YouTube keeps removing the
/get_video_info
endpoint.pytube
(#1060) has the same issue.We have logs and backtraces of two failed actions:
I guess it gets more and more clear, that we have to find a way to make the youtube-api-v1 work since
/get_video_info
will probably not be around for much longer.Could anyone recommend a tool for JS reverse engineering? This would help me to find out how
youtube.com
handles the video download.The text was updated successfully, but these errors were encountered: