Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
253 B
0
Indexable
Never
for i in range(0, 10000):
    username = str(i).zfill(5)
    r = requests.get(f'https://www.tiktok.com/@{username}')
    if r.status_code == 200:
        print(f'{username} is already taken.')
    else:
        print(f'{username} is available.')