I have a url https://www.argos.co.uk/stores/api/orchestrator/v0/locator/availability?origin=RH10&skuQty=6217859_1 which holds a json data.
When I try to fetch it using requests module it seems never to get data and goes into infinite wait.
import requests
main = 'https://www.argos.co.uk/'
s = requests.Session()
s.headers.update({'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36'})
s.get(main)
url = 'https://www.argos.co.uk/stores/api/orchestrator/v0/locator/availability?origin=RH10&skuQty=6217859_1'
g = s.get(url)
print(g.content)
What can be the possible reason? Note: hitting the url in the browser shows the data
