don't pass forwarded for header
This commit is contained in:
parent
d630f4b19c
commit
4feacb4a97
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue