Skip to content

Instantly share code, notes, and snippets.

@jkokatjuhha jkokatjuhha/timeout.py
Last active Sep 26, 2018

Embed
What would you like to do?
# timeout is set to 5 secodns
page_response = requests.get(page_link, timeout=5, headers=headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.