mirror of https://github.com/yt-dlp/yt-dlp.git
[extractor/youtube] Fix `ytuser:`
This commit is contained in:
parent
5e39fb982e
commit
08270da5c3
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue