Update license and tasks docs (#2941)

This commit is contained in:
Glenn Jocher
2023-06-01 00:42:55 +02:00
committed by GitHub
parent c050b2d1a8
commit 96fb5ee78e
9 changed files with 25 additions and 8 deletions

View File

@ -348,7 +348,7 @@ def get_best_youtube_url(url, use_pafy=True):
use_pafy (bool): Use the pafy package, default=True, otherwise use yt_dlp package.
Returns:
str: The URL of the best quality MP4 video stream, or None if no suitable stream is found.
(str): The URL of the best quality MP4 video stream, or None if no suitable stream is found.
"""
if use_pafy:
check_requirements(('pafy', 'youtube_dl==2020.12.2'))