Sep-28-2020, 06:08 AM
(Sep-28-2020, 05:45 AM)bowlofred Wrote: I don't know what your question is.
Are you trying to generate 22 character IDs (randomly? sequentially?) Are you trying to decode youtube addresses? If you want to generate them sequentially, just change therepeat=3
in the code above torepeat=22
. (At 5 x 10^39 different codes, it's going to take some time to work through them)
Youtube doesn't create IDs by just incrementing. That way folks can't predict what future codes will be, and the generation can be distributed among multiple servers.
Yes, I'm trying to do it sequentially.
How do you get 5 x 10^39 = 5e+39 when Buran works it out to 64**20 (Isn't that 64^20)= 1.329228e+36 ?
Could you explain how it's worked out?
There should also be numbers in it too...
0 - 9 (10)
a - z (26)
A - Z (26)
- - _ (2)
Total 64