Youtube upload api duplicated video (get the right

2019-02-15 10:19发布

When a video is duplicated (let's say v = GgVH5fXXYSE) , is there a way i can find the videoid of the "good" one (the one that should work) with the duplicated id. (so with GgVH5fXXYSE i could find eNqZgEgOfsw) Thanks!

标签: youtube-api
2条回答
再贱就再见
2楼-- · 2019-02-15 11:08

Unfortunately, there's no way to get this information. It's come up as a feature request a number of times in the past, and there are technical reasons why this can't be exposed in the YouTube Data API response.

查看更多
Root(大扎)
3楼-- · 2019-02-15 11:12

If you have APP, that solely uploads file to particular (authorized) youtube account(s), then you can get it done using following method. Maintain a hash of all input files and while uploading file, check ,if you have old file having same hash as current file upload, and that old file was uploaded successfully, then don't upload that file and use youtube link = old file's ( having same hash as current file) youtube link.

查看更多
登录 后发表回答