list-sn.py 459 B

1234567891011121314151617
  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. a = num2code(str(i).zfill(2))
  9. b = num2code(str(j).zfill(2))
  10. print('r2---' + 'sn-' + encoded_iata + a + 'n' + b + '.googlevideo.com')
  11. print('r2---' + 'sn-' + encoded_iata + a + 'u' + b + '.googlevideo.com')
  12. if __name__ == '__main__':
  13. main()