list-sn.py 378 B

12345678910111213141516
  1. #!/usr/bin/env python3
  2. import sys
  3. from conv import num2code
  4. def main():
  5. encoded_iata = sys.argv[1]
  6. for i in range(0, 100):
  7. for j in range(0, 100):
  8. sn = encoded_iata + num2code(str(i).zfill(2)) + 'n' + num2code(str(j).zfill(2))
  9. dm = 'r2---' + 'sn-' + sn + '.googlevideo.com'
  10. print(dm)
  11. if __name__ == '__main__':
  12. main()