DzenanJupic/rustube

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

ccgauche opened this issue · 2 comments

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://github.com/DzenanJupic/rustube/issues/new?assignees=&labels=youtube-api-changed&template=youtube_api_changed.yml).

Video IDs

  • whoI4EuC0yg
  • i3lilyB2RGg

Version

- 0.6.0 (https://github.com/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

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.

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