flagbug / YoutubeExtractor

A .NET library, that allows to download videos from YouTube and/or extract their audio track (currently only for flash videos).
816 stars 374 forks source link

Unable to parse age-restricted videos #272

Closed Wildenhaus closed 7 years ago

Wildenhaus commented 7 years ago

For whatever reason, some video pages do not contain the player when YouTubeExtractor tries to pull them. Example URL: http://www.youtube.com/watch?v=aMY0IETkDrU

Looking into this right now.

Wildenhaus commented 7 years ago

Determined the cause being the video is age restricted. Is there a way to trick the player into thinking it isn't age restricted, other than by perhaps setting a cookie?

Wildenhaus commented 7 years ago

My bad in regards to duplicating #103. Posting a viable solution there.