projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[YoutubeDL] Do not override ie_key in url_transparent
[youtube-dl]
/
youtube_dl
/
YoutubeDL.py
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 2a3d6cd4a423227ef998d4f8b6ab4dc7c482a54b..50228bb321d3b4076bdff438624b5136da2f6e87 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-707,7
+707,6
@@
class YoutubeDL(object):
It will also download the videos if 'download'.
Returns the resolved ie_result.
"""
It will also download the videos if 'download'.
Returns the resolved ie_result.
"""
-
result_type = ie_result.get('_type', 'video')
if result_type in ('url', 'url_transparent'):
result_type = ie_result.get('_type', 'video')
if result_type in ('url', 'url_transparent'):
@@
-736,7
+735,7
@@
class YoutubeDL(object):
force_properties = dict(
(k, v) for k, v in ie_result.items() if v is not None)
force_properties = dict(
(k, v) for k, v in ie_result.items() if v is not None)
- for f in ('_type', 'url'):
+ for f in ('_type', 'url'
, 'ie_key'
):
if f in force_properties:
del force_properties[f]
new_result = info.copy()
if f in force_properties:
del force_properties[f]
new_result = info.copy()