aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorZenon Mousmoulas <zmousm@users.noreply.github.com>2022-03-04 23:52:48 +0200
committerGitHub <noreply@github.com>2022-03-04 13:52:48 -0800
commit27231526ae4dd3b0619d25a2e9d73186c1197c2f (patch)
treecbaff7cb8e0f5b877689b35264037e71f091ab83 /yt_dlp/extractor/common.py
parent50e93e03a7ca6ae35a319ea310104f7d6d91eee3 (diff)
downloadhypervideo-pre-27231526ae4dd3b0619d25a2e9d73186c1197c2f.tar.lz
hypervideo-pre-27231526ae4dd3b0619d25a2e9d73186c1197c2f.tar.xz
hypervideo-pre-27231526ae4dd3b0619d25a2e9d73186c1197c2f.zip
[ant1newsgr] Add extractor (#1982)
Authored by: zmousm
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index dbf5ef8d4..f86e7cb3e 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -1140,8 +1140,8 @@ class InfoExtractor(object):
'url': url,
}
- def playlist_from_matches(self, matches, playlist_id=None, playlist_title=None, getter=None, ie=None, **kwargs):
- urls = (self.url_result(self._proto_relative_url(m), ie)
+ def playlist_from_matches(self, matches, playlist_id=None, playlist_title=None, getter=None, ie=None, video_kwargs=None, **kwargs):
+ urls = (self.url_result(self._proto_relative_url(m), ie, **(video_kwargs or {}))
for m in orderedSet(map(getter, matches) if getter else matches))
return self.playlist_result(urls, playlist_id, playlist_title, **kwargs)