1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

[youtube] Remove unused code

This commit is contained in:
Sergey M․ 2021-04-21 05:37:51 +07:00
parent ac19c3ac80
commit 7e8b3f9439
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -65,11 +65,6 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
_PLAYLIST_ID_RE = r'(?:(?:PL|LL|EC|UU|FL|RD|UL|TL|PU|OLAK5uy_)[0-9A-Za-z-_]{10,}|RDMM)'
def _ids_to_results(self, ids):
return [
self.url_result(vid_id, 'Youtube', video_id=vid_id)
for vid_id in ids]
def _login(self):
"""
Attempt to log in to YouTube.