I'm trying to request this page https://health.usnews.com/best-hospitals/rankings/cancer using Python(2.7) requests module. But it's giving 403 response(It's working fine on my local machine but not working on the server).
requested the page bypassing headers and cookies in the request. But got 403 response. Also, tried the Session
object as well as suggested in Python requests - 403 forbidden - despite setting `User-Agent` headers
>>> requests.get('https://health.usnews.com/best-hospitals/rankings/cancer')
<Response [403]>
>>> requests.get('https://health.usnews.com/best-hospitals/rankings/cancer', headers=h)
<Response [403]>
How can we get the proper response from that page?
Thank you in advance!