diff options
author | sepro <sepro@sepr0.com> | 2024-11-23 20:42:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 20:42:35 +0100 |
commit | 7d6c259a03bc4707a319e5e8c6eff0278707874b (patch) | |
tree | 4c4972f721446c61f4db729f7238df9b0a7f6f78 | |
parent | 16336c51d0848a6868a4fa04e749fa03548b4913 (diff) |
Add `playlist_webpage_url` field (#11613)
Closes #10827
Authored by: seproDev
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | yt_dlp/YoutubeDL.py | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1294,6 +1294,7 @@ The available fields are: - `playlist_uploader_id` (string): Nickname or id of the playlist uploader - `playlist_channel` (string): Display name of the channel that uploaded the playlist - `playlist_channel_id` (string): Identifier of the channel that uploaded the playlist + - `playlist_webpage_url` (string): URL of the playlist webpage - `webpage_url` (string): A URL to the video webpage which, if given to yt-dlp, should yield the same result again - `webpage_url_basename` (string): The basename of the webpage URL - `webpage_url_domain` (string): The domain of the webpage URL diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 749de5d4e..a9a8e4133 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1947,6 +1947,7 @@ class YoutubeDL: 'playlist_uploader_id': ie_result.get('uploader_id'), 'playlist_channel': ie_result.get('channel'), 'playlist_channel_id': ie_result.get('channel_id'), + 'playlist_webpage_url': ie_result.get('webpage_url'), **kwargs, } if strict: |