Skip to content

Instantly share code, notes, and snippets.

import requests
from urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
import logging
logging.basicConfig(level=logging.DEBUG)
s = requests.Session()
retries = Retry(total=3,