I'm trying a scrape a website, and fetching the page content via the requests module.
url = "https://www.myntra.com/tshirts/puma/puma-men-grey-first-mile-xtreme-drycell-self-design-training-t-shirt/12352244/buy"
requests.get(url, headers=headers)
The above snippet works on my local machine, but not on ec2. How is the host identifying whether the request is coming from my local system or the ec2 server? If i try to browse any other URL, it works, but not URLs of myntra.com domain.