1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-25 17:16:46 +00:00

[tnaflix] Pass Referer in metadata request (closes #18925)

This commit is contained in:
Sergey M․ 2019-01-20 22:07:01 +07:00
parent fad4ceb534
commit 07f9febc4b
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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 = []