aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-01-20 22:07:01 +0700
committerSergey M․ <dstftw@gmail.com>2019-01-20 22:07:01 +0700
commit07f9febc4b86a9cd819329f3a7daafdbe9455f40 (patch)
treea2d7fe5558b2a567590f690e8e1d172f4d0c220b
parentfad4ceb53404227f471af2f3544c4c14a5df4acb (diff)
[tnaflix] Pass Referer in metadata request (closes #18925)
-rw-r--r--youtube_dl/extractor/tnaflix.py2
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 = []