diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-01-20 22:07:01 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-01-20 22:07:01 +0700 |
commit | 07f9febc4b86a9cd819329f3a7daafdbe9455f40 (patch) | |
tree | a2d7fe5558b2a567590f690e8e1d172f4d0c220b /youtube_dl/extractor | |
parent | fad4ceb53404227f471af2f3544c4c14a5df4acb (diff) |
[tnaflix] Pass Referer in metadata request (closes #18925)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/tnaflix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py index 6798ef4c3..b3573c6e0 100644 --- a/youtube_dl/extractor/tnaflix.py +++ b/youtube_dl/extractor/tnaflix.py @@ -96,7 +96,7 @@ class TNAFlixNetworkBaseIE(InfoExtractor): cfg_xml = self._download_xml( cfg_url, display_id, 'Downloading metadata', - transform_source=fix_xml_ampersands) + transform_source=fix_xml_ampersands, headers={'Referer': url}) formats = [] |