I am running a python script that uses request.get() to retrieve data from various online sources. The script runs very well on my Macbook Pro. But when I run the same python script on my new Windows 10 machine, it takes about 6x as long to make the same request calls.
Anyone have some insight into why this might be happening, and how to solve it?
Edit[1]:
To add a sample of the code I'm using, here is the simple class that does the requests:
import requests
def getHTTPRequest(url, mTimeout):
response = requests.get(url, timeout=mTimeout)
return response.content