1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 04:27:16 +08:00

Update youtube.py

This commit is contained in:
disneyaznews 2020-03-07 22:31:42 -08:00 committed by GitHub
parent ea782aca52
commit 2acd421cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
_NETRC_MACHINE = 'youtube'
# If True it will raise an error if no login info is provided
_LOGIN_REQUIRED = False
_LOGIN_REQUIRED = True
_PLAYLIST_ID_RE = r'(?:PL|LL|EC|UU|FL|RD|UL|TL|PU|OLAK5uy_)[0-9A-Za-z-_]{10,}'