From 08270da5c3454cec1d26c4e34add58158af19a1d Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 11 Nov 2022 16:29:29 +0530 Subject: [PATCH] [extractor/youtube] Fix `ytuser:` --- yt_dlp/extractor/youtube.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index d18a16689..1f9feb2d2 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -6293,9 +6293,7 @@ class YoutubeYtUserIE(InfoExtractor): def _real_extract(self, url): user_id = self._match_id(url) - return self.url_result( - 'https://www.youtube.com/user/%s/videos' % user_id, - ie=YoutubeTabIE.ie_key(), video_id=user_id) + return self.url_result(f'https://www.youtube.com/user/{user_id}', YoutubeTabIE, user_id) class YoutubeFavouritesIE(YoutubeBaseInfoExtractor):