Quantcast
Channel: Youtube API get feed ignore duplicates - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Youtube API get feed ignore duplicates

0
0

I cannot find a way of getting youtube to not return duplicate videos in a feed.I am currently using API v1 and I understand that v2 and v3 are where I should be moving too. I am using ZF 1 and its Gdata library not that it should matter if there is API level support for what I want to do.

However I cannot see the solution in either of those versions either.

Heres whats happening.For some reason the server code is occasionally uploading duplicate videos in parallel.Youtube detects that and then it seems to list a video on the feed as duplicate and it wont play.

https://gdata.youtube.com/feeds/api/users/username/uploads/?max-results=50

So I get 50 videos from that users account. Is there anyway to tell youtube, dont return videos that are duplicates.

I mean it almost seems obvious that it shouldnt right?

Does anyone know anything about filtering duplicates out of feeds?I look at the data returned and theres no indication of a status or any other info which would provide me with a way to tell a clip is duplicate.

Hopefully someone knows the solution.

Cheers!


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images