Created
May 28, 2018 00:40
-
-
Save toorusr/963f173f9dd45969e8f178f05df56b65 to your computer and use it in GitHub Desktop.
Github Username Checker Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests as req | |
import sys | |
argv = sys.argv[1] | |
rsp = req.get("https://github.com/{}".format(argv)) | |
if str(rsp) == "<Response [200]>": | |
print("exists;") | |
else: | |
print("free;") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment