]> jfr.im git - yt-dlp.git/commitdiff
[youtube] Login is not needed for `:ytrec`
authorpukkandan <redacted>
Sat, 12 Jun 2021 15:15:08 +0000 (20:45 +0530)
committerpukkandan <redacted>
Sat, 12 Jun 2021 22:15:53 +0000 (03:45 +0530)
yt_dlp/extractor/youtube.py

index 9161ea3d1a3ea8cbd759abe29046b618047e0180..14514940dea20023274990a7ea5c289f270ef1c7 100644 (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,