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

Can't download a specific video (id=whoI4EuC0yg) #52

Open
ccgauche opened this issue Dec 16, 2022 · 2 comments · May be fixed by #61
Open

Can't download a specific video (id=whoI4EuC0yg) #52

ccgauche opened this issue Dec 16, 2022 · 2 comments · May be fixed by #61
Labels
youtube-api-changed YouTube changed thier API and rustube needs to adjust to it

Comments

@ccgauche
Copy link

ccgauche commented Dec 16, 2022

Summary

Error downloading whoI4EuC0yg: YouTube returned an unexpected response: Could not acquire the player response from the watch html! It looks like YouTube changed it's API again :-/ If this not yet reported, it would be great if you could file an issue: (https:/DzenanJupic/rustube/issues/new?assignees=&labels=youtube-api-changed&template=youtube_api_changed.yml).

Video IDs

  • whoI4EuC0yg
  • i3lilyB2RGg

Version

- 0.6.0 (https:/Discursif/rustube fork to allow downloading at high-speed)

Log output or error

log.txt

Additional notes or ideas

Maybe it's due to the high speed downloading fix I applied but this is the only video unable to get downloaded

@ccgauche ccgauche added the youtube-api-changed YouTube changed thier API and rustube needs to adjust to it label Dec 16, 2022
@DzenanJupic
Copy link
Owner

DzenanJupic commented Dec 16, 2022

whoI4EuC0yg

Making src/video_info/player_response/playabilty_status.rs ErrorScreen.player_error_message_renderer an Option leads to a different error:

ERROR [rustube::descrambler:95]: descramble() => Custom("VideoInfo contained no StreamingData, which is essential for downloading.")
ERROR [rustube:31]: Could not descramble the video information

fetching on its own still works, so the current approach is probably not to far off.

i3lilyB2RGg

Making src/video_info/player_response/streaming_data.rs ColorInfo.transfer_characteristics an Option solves it for this video.

@ccgauche
Copy link
Author

ccgauche commented Dec 17, 2022

New ID that has the same issue: x--rvICd6Ac, zxG3aD1cVGI, dqRZDebPIGs, EiIW-izVkBk, 60ruvzfXQoE

@mjmjelde mjmjelde linked a pull request Feb 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
youtube-api-changed YouTube changed thier API and rustube needs to adjust to it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants