From 4feacb4a97aafd442cc9ec77162b1b7efaa83182 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 6 Jul 2023 18:34:08 +0530 Subject: [PATCH] don't pass forwarded for header --- ox/web/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 755a63e..dffb6e4 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -23,7 +23,7 @@ from ..geo import normalize_country_name, get_country_name def prepare_url(url, data=None, headers=cache.DEFAULT_HEADERS, timeout=cache.cache_timeout, valid=None, unicode=False): headers = headers.copy() # https://webapps.stackexchange.com/questions/11003/how-can-i-disable-reconfigure-imdbs-automatic-geo-location-so-it-does-not-defau - headers['X-Forwarded-For'] = '72.21.206.80' + #headers['X-Forwarded-For'] = '72.21.206.80' headers['Accept-Language'] = 'en' return url, data, headers, timeout, unicode