aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-12-19 03:53:44 +0700
committerSergey M․ <dstftw@gmail.com>2017-12-19 03:53:44 +0700
commit3961c6cb9d3a1c30fe31db774b0809095952f1bd (patch)
treeeea9cfa32df8e3d3b340b1346520bf47b042c96f /youtube_dl/YoutubeDL.py
parent07aeced68e5aa24f3e2562aa7cb9ddd2f11b59ca (diff)
[YoutubeDL] Add support for playlist_uploader and playlist_uploader_id in output template (closes #11427, #15018)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 68721e9ab..ace80f14b 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -975,6 +975,8 @@ class YoutubeDL(object):
'playlist': playlist,
'playlist_id': ie_result.get('id'),
'playlist_title': ie_result.get('title'),
+ 'playlist_uploader': ie_result.get('uploader'),
+ 'playlist_uploader_id': ie_result.get('uploader_id'),
'playlist_index': i + playliststart,
'extractor': ie_result['extractor'],
'webpage_url': ie_result['webpage_url'],