1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 18:52:48 +01:00

[youtube] Login is not needed for :ytrec

This commit is contained in:
pukkandan 2021-06-12 20:45:08 +05:30
parent 28419ca2c8
commit 45db527fa6
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -4078,6 +4078,7 @@ class YoutubeRecommendedIE(YoutubeFeedsInfoExtractor):
IE_DESC = 'YouTube.com recommended videos, ":ytrec" for short (requires authentication)'
_VALID_URL = r'https?://(?:www\.)?youtube\.com/?(?:[?#]|$)|:ytrec(?:ommended)?'
_FEED_NAME = 'recommended'
_LOGIN_REQUIRED = False
_TESTS = [{
'url': ':ytrec',
'only_matching': True,