knadh / go-get-youtube

A tiny Go library + client for downloading Youtube videos. The library is capable of fetching Youtube video metadata, in addition to downloading videos.
158 stars 35 forks source link

Videos that doesn't allow embedding in 3rd party sites #8

Closed gayanhewa closed 5 years ago

gayanhewa commented 5 years ago

I seem to hit a wall trying to fetch a video that doesn't allow embedding.

ERROR:  <a href="http://www.youtube.com/watch?v=Ihgh55IeL3Q&feature=player_embedded" target="_blank">Se denne video på YouTube.</a> Afspilning på andre websites er blevet deaktiveret af videoejeren.

Translates to:

ERROR: <a href="http://www.youtube.com/watch?v=Ihgh55IeL3Q&feature=player_embedded" target="_blank"> Watch this video on YouTube. </a> Playback on other websites has been disabled by the video owner.

Any idea how to overcome this. For now, I am trying to use this through the cli

knadh commented 5 years ago

The way the library works, it may not be possible to download such videos unfortunately.

gayanhewa commented 5 years ago

@knadh 👍 makes sense then. Thanks for clarifying.