manu-chroma / username-availability-checker

Live at : https://username-check.herokuapp.com/
94 stars 37 forks source link

KeyError: 'status' #106

Open bcoles opened 5 years ago

bcoles commented 5 years ago

Ran into this issue, with a few different usernames, always after the github check. Presumably an issue with the instagram check.

$ python3 cli.py 
Enter the username : asdf
Checking username availability now...
Taken on asciinema
Taken on behance
Taken on deviantart
Impossible on facebook
Taken on gitlab
Taken on github
Traceback (most recent call last):
  File "cli.py", line 26, in <module>
    main()
  File "cli.py", line 19, in main
    elif res['status'] == 404 or res['status'] == 301:
KeyError: 'status'
seeeturtle commented 5 years ago

Does it occurs also for username_api.py? And what website are having problem with?

      1. 오후 9:08 Brendan Coles notifications@github.com 작성:

Ran into this issue, with a few different usernames, on different sites.

$ python3 cli.py Enter the username : asdf Checking username availability now... Taken on asciinema Taken on behance Taken on deviantart Impossible on facebook Taken on gitlab Taken on github Traceback (most recent call last): File "cli.py", line 26, in main() File "cli.py", line 19, in main elif res['status'] == 404 or res['status'] == 301: KeyError: 'status' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bcoles commented 5 years ago

@seeeturtle Presumably an issue with the instagram check. I haven't tried with username_api.py