[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)' IE_DESC = 'YouTube.com recommended videos, ":ytrec" for short (requires authentication)'
_VALID_URL = r'https?://(?:www\.)?youtube\.com/?(?:[?#]|$)|:ytrec(?:ommended)?' _VALID_URL = r'https?://(?:www\.)?youtube\.com/?(?:[?#]|$)|:ytrec(?:ommended)?'
_FEED_NAME = 'recommended' _FEED_NAME = 'recommended'
_LOGIN_REQUIRED = False
_TESTS = [{ _TESTS = [{
'url': ':ytrec', 'url': ':ytrec',
'only_matching': True, 'only_matching': True,