Update YoutubeDL.py

This commit is contained in:
Argn0 2017-06-23 12:20:15 +02:00 committed by GitHub
parent 31121459bf
commit e9b40d2964

View File

@ -1324,6 +1324,9 @@ class YoutubeDL(object):
if info_dict['url']:
cookies = self._calc_cookies(info_dict)
else:
cookies = None
if cookies:
res['Cookie'] = cookies
if 'X-Forwarded-For' not in res: