Sep-28-2020, 06:32 AM
There is 22 characters after the UC in the address
Trying to cycle through a list of charcters
|
Sep-28-2020, 06:32 AM
There is 22 characters after the UC in the address
(Sep-28-2020, 06:32 AM)pooky2483 Wrote: There is 22 characters after the UC in the addressSorry, I didn't count them, but because you were looping over range(21) and also said "i shorten it down to 22 characters, as in a YT address" and in the example first two were not black, I decided that black chars are 20So it's 64**22 words The point is it's not feasible to brute-force the url. There are several interesting links https://www.google.com/search?q=youtube+url+algorithm e.g. https://stackoverflow.com/q/3034861/4046632 on SO, check all answers and comments Also note the difference between representing the ID of the video and url-shortening
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
Sep-28-2020, 06:55 AM
When I said shorten it, I meant the whole length of uppercase, lowercase, numbers and -_
'-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' out of all the characters above, using a length of 22, cycle through the above string. Any better? |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Assigning cycle values in a list | nmancini | 3 | 1,024 |
Sep-16-2024, 09:35 PM Last Post: deanhystad |
|
Writing a cycle to find the nearest point from the array | Tysrusko | 0 | 818 |
May-10-2024, 11:49 AM Last Post: Tysrusko |
|
Need to fix SyntaxError in cycle try | alexfrol86 | 14 | 6,054 |
Mar-27-2022, 07:53 AM Last Post: stevendaprano |
|
add Escape charcters in string | GrahamL | 3 | 1,962 |
Jan-20-2022, 01:15 PM Last Post: GrahamL |
|
<while> cycle is not interrupted when using the <random>module | ShityCoder | 3 | 3,067 |
Sep-04-2020, 04:05 PM Last Post: ShityCoder |
|
Cycle of numpy variables | Zero01 | 0 | 2,081 |
Jul-31-2020, 11:58 AM Last Post: Zero01 |
|
stop cycle while | windows11 | 1 | 2,665 |
May-16-2020, 03:17 PM Last Post: deanhystad |
|
Occurrences using FOR and IF cycle | P86 | 2 | 3,326 |
Jul-29-2019, 04:37 PM Last Post: ThomasL |
|
pool map cycle | skorost5 | 5 | 4,980 |
Apr-07-2019, 09:21 AM Last Post: skorost5 |
|
lifetime cycle counter | Ixxxxxx | 0 | 3,215 |
Mar-07-2018, 07:26 PM Last Post: Ixxxxxx |