[extractor/youtube] Fix ytuser:

This commit is contained in:
pukkandan 2022-11-11 16:29:29 +05:30
parent 5e39fb982e
commit 08270da5c3
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -6293,9 +6293,7 @@ class YoutubeYtUserIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
user_id = self._match_id(url) user_id = self._match_id(url)
return self.url_result( return self.url_result(f'https://www.youtube.com/user/{user_id}', YoutubeTabIE, user_id)
'https://www.youtube.com/user/%s/videos' % user_id,
ie=YoutubeTabIE.ie_key(), video_id=user_id)
class YoutubeFavouritesIE(YoutubeBaseInfoExtractor): class YoutubeFavouritesIE(YoutubeBaseInfoExtractor):