Skip to content

Instantly share code, notes, and snippets.

@alecglassford
Last active April 7, 2017 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alecglassford/67a04d4fa5ef6a3cb981a51219e8dd51 to your computer and use it in GitHub Desktop.
Save alecglassford/67a04d4fa5ef6a3cb981a51219e8dd51 to your computer and use it in GitHub Desktop.
Available usernames ending in -OTUS on Twitter (as of 4/7/16)
AEOTUS
AJOTUS
AOOTUS
AUOTUS
BGOTUS
BJOTUS
BNOTUS
BQOTUS
BUOTUS
BVOTUS
BXOTUS
BZOTUS
CDOTUS
CKOTUS
CNOTUS
CTOTUS
CUOTUS
CVOTUS
CXOTUS
CZOTUS
DNOTUS
DUOTUS
DVOTUS
DXOTUS
DYOTUS
EAOTUS
EEOTUS
EFOTUS
EHOTUS
EJOTUS
EQOTUS
EUOTUS
EYOTUS
EZOTUS
FQOTUS
FUOTUS
FXOTUS
FYOTUS
GCOTUS
GJOTUS
GQOTUS
GUOTUS
GVOTUS
GXOTUS
GYOTUS
HAOTUS
HCOTUS
HEOTUS
HFOTUS
HIOTUS
HJOTUS
HKOTUS
HMOTUS
HQOTUS
HSOTUS
HTOTUS
HUOTUS
HVOTUS
HWOTUS
HXOTUS
HZOTUS
IAOTUS
ICOTUS
IEOTUS
IOOTUS
IQOTUS
IUOTUS
IVOTUS
IWOTUS
IXOTUS
IYOTUS
IZOTUS
JGOTUS
JQOTUS
JUOTUS
JVOTUS
JXOTUS
KCOTUS
KFOTUS
KGOTUS
KJOTUS
KQOTUS
KSOTUS
KVOTUS
KXOTUS
KZOTUS
LBOTUS
LDOTUS
LGOTUS
LJOTUS
LQOTUS
LSOTUS
LXOTUS
LZOTUS
MIOTUS
MNOTUS
MQOTUS
MUOTUS
MWOTUS
MXOTUS
NDOTUS
NFOTUS
NHOTUS
NJOTUS
NKOTUS
NQOTUS
NROTUS
NUOTUS
NVOTUS
NWOTUS
NXOTUS
NZOTUS
OEOTUS
OHOTUS
OIO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OTUS
ZIOTUS
ZJOTUS
ZKOTUS
ZMOTUS
ZQOTUS
ZSOTUS
ZUOTUS
ZVOTUS
ZWOTUS
ZXOTUS
ZYOTUS
ZZOTUS
from collections import defaultdict
from itertools import product
from string import ascii_uppercase
import requests
base_url = 'https://twitter.com/{}OTUS'
UNK = 'UNK'
result = defaultdict(list)
def test_url(url):
try:
resp = requests.head(url)
print(url, resp.status_code)
return resp.status_code
except:
print('error getting', url)
return UNK
print('trying one letter ...')
for letter in ascii_uppercase:
url = base_url.format(letter)
code = test_url(url)
result[code].append(url)
print('\ntrying two letters ...')
for first_letter, second_letter in product(ascii_uppercase, ascii_uppercase):
prefix = first_letter + second_letter
url = base_url.format(prefix)
code = test_url(url)
result[code].append(url)
for code in result:
print('****', code, '****')
for url in result[code]:
print(url)
print('\n')
available = [url.split('/')[-1] for url in result[404]]
for name in available:
print(available)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment