[extractor/youtube] Fix `ytuser:`

pull/5511/head
pukkandan 2 years ago
parent 5e39fb982e
commit 08270da5c3
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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):

Loading…
Cancel
Save