Request headers to scrape pypi.org
Request proxies to access PyPI Question: I am trying to screenscrape PyPI packages using the requests library and beautiful soup – but am met with an indefinite hang. I am able to retrieve html from a number of sites with: session = requests.Session() session.trust_env = False response = session.get("http://google.com") print(response.status_code) i.e. without providing headers. I …