'Python requests suddenly don't work anymore with a specific url
Until recently, the following worked fine:
import requests
page = requests.get("https://www.moviemeter.nl/")
but not anymore. Now I am getting back a result <Response [200]>, page.ok = True but page.text is an empty string. Getting the page with Google Chrome works fine.
I tried:
- with or without to the of a vpn
- with headers: headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36'} page = requests.get("http://moviemeter.nl/", headers=headers) Nothing seems to work anymore.
Can somebody help me out? Much appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
