leedo / noembed

oEmbed gateway service with additional non-oEmbed sources
http://www.noembed.com
484 stars 90 forks source link

is there any way to return an error if youtube video is set as unlisted? #107

Closed ferrolive closed 5 years ago

ferrolive commented 5 years ago

At the moment trying to get youtube video information, if the video is "unlisted" the return is "500 Internal Server Error". Is there any way to identify that and return specific information?

ferrolive commented 5 years ago

If we pass youtube link as youtube.com/watch?v=[id] it works. It doesn't work if we pass an embedded link. Ex. youtube.com/embed/[id]. Closed.