Do not delete referer header (#1237)

since it causes IG's CDN to limit download speed
This commit is contained in:
fireattack 2021-07-24 09:37:07 -05:00 committed by GitHub
parent 8c1129e556
commit a0e3e8db0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,6 @@ class InstaloaderContext:
if empty_session_only:
del header['Host']
del header['Origin']
del header['Referer']
del header['X-Instagram-AJAX']
del header['X-Requested-With']
return header