2 ms·
> return a random video for a certain percent of non existing identifiers. if you got a video from a randomly generated ID, you can immediately query for it ag
by chii 3y ago
> return a random video for a certain percent of non existing identifiers.
if you got a video from a randomly generated ID, you can immediately query for it again, and see if the video was the same as before.
If it's not the same, you disgard the result and assume the ID generated was actually non-existent.
If it's the same, then you know it's a real ID.
As long as youtube vidoe URLs are immutable, this method will stop the blocks you described.
- alex_young 3y agoUnless they cache the false information…