Created
May 30, 2018 08:39
-
-
Save Isopach/b55853238dd792825b2a2d73a5f56fe7 to your computer and use it in GitHub Desktop.
Send HTTP GET Request about 5x a second
This file contains 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 | |
while True: | |
r = requests.get('https://github.com') | |
print(str(r.status_code) + "\n" + r.content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment