mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 06:10:38 +01:00
[tnaflix] Pass Referer in metadata request (closes #18925)
This commit is contained in:
parent
fad4ceb534
commit
07f9febc4b
|
@ -96,7 +96,7 @@ class TNAFlixNetworkBaseIE(InfoExtractor):
|
||||||
|
|
||||||
cfg_xml = self._download_xml(
|
cfg_xml = self._download_xml(
|
||||||
cfg_url, display_id, 'Downloading metadata',
|
cfg_url, display_id, 'Downloading metadata',
|
||||||
transform_source=fix_xml_ampersands)
|
transform_source=fix_xml_ampersands, headers={'Referer': url})
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user