diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-07-21 00:13:32 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-07-21 00:13:32 +0700 |
commit | 0396806f671e5828c2abdeb8048acf8b654507b6 (patch) | |
tree | 6ff8e94e78c9a1138474d9c1fcf99c39c2023dcf /youtube_dl | |
parent | dc6520aa3d1fe7afc52613e392f15dde90af4844 (diff) |
[YoutubeDL] Do not override id, extractor and extractor_key in url_transparent
All these meta fields must be borrowed from final extractor that actually performs extraction.
This commit fixes extractor id in download archives for url_transparent downloads. Previously, 'transparent' extractor was erroneously
used for extractor archive id, e.g. 'eggheadlesson 4n8ugwwj5t' instead of 'wistia 4n8ugwwj5t'.
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 89c07be29..f94836d06 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -860,7 +860,7 @@ class YoutubeDL(object): force_properties = dict( (k, v) for k, v in ie_result.items() if v is not None) - for f in ('_type', 'url', 'ie_key'): + for f in ('_type', 'url', 'id', 'extractor', 'extractor_key', 'ie_key'): if f in force_properties: del force_properties[f] new_result = info.copy() |