projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad4ceb
)
[tnaflix] Pass Referer in metadata request (closes #18925)
author
Sergey M․
<dstftw@gmail.com>
Sun, 20 Jan 2019 15:07:01 +0000
(22:07 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 20 Jan 2019 15:07:01 +0000
(22:07 +0700)
youtube_dl/extractor/tnaflix.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tnaflix.py
b/youtube_dl/extractor/tnaflix.py
index 6798ef4c3f32da387e17b2381bf2b1815bfdd119..b3573c6e077c3dff730f13a02710f81a2c2cf0e8 100644
(file)
--- 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 = []