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 | |
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, |
OlderNewer