aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-09 22:32:26 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-09 22:32:35 +0100
commita1cf99d03a6a842aa4e53c211c9f38dd27db5971 (patch)
tree82a00ed7384c9f1dd809a3050c61119782fe641e /youtube_dl/YoutubeDL.py
parent3c6af203cc615f835e8ff95508e04d908950249c (diff)
[YoutubeDL] Add playlist_id and playlist_title fields (Fixes #4139)
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 172180d14..9fdeb4cfb 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -658,6 +658,8 @@ class YoutubeDL(object):
extra = {
'n_entries': n_entries,
'playlist': playlist,
+ 'playlist_id': ie_result.get('id'),
+ 'playlist_title': ie_result.get('title'),
'playlist_index': i + playliststart,
'extractor': ie_result['extractor'],
'webpage_url': ie_result['webpage_url'],