playlist_size for yt video
This commit is contained in:
parent
39212959b1
commit
7030992ed8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue