Programmatically determine whether a Youtube video has been taken down

后端 未结 4 1846
耶瑟儿~
耶瑟儿~ 2020-12-09 22:12

I\'m getting most of the music on Rap Exegesis from YouTube (in the form of embedded players). Unfortunately, there\'s always the risk that one of the videos I\'m using will

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 22:43

    The information you need is available via the YouTube API, specifically in the yt:state tag

    Depending what language you are programming in there is lots of code around for interacting with the YouTube API.

    Post here with more details if you are still having issues getting this to work.

提交回复
热议问题