playlist_size for yt video

This commit is contained in:
Jesse Bannon 2022-09-27 17:06:45 -07:00
parent 39212959b1
commit 7030992ed8

View file

@ -42,7 +42,7 @@ class YoutubeVideoDownloaderOptions(YoutubeDownloaderOptions):
"""Downloads the video url""" """Downloads the video url"""
return CollectionValidator( return CollectionValidator(
name=self._name, name=self._name,
value={"urls": [{"url": self.video_url}]}, value={"urls": [{"url": self.video_url, "variables": {"playlist_size": "1"}}]},
) )
@property @property