logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 7e8b3f9439ebefb3a3a4e5da9c0bd2b595976438
parent ac19c3ac8035fbf9369fd4bd336c9045d4eeafa3
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 21 Apr 2021 05:37:51 +0700

[youtube] Remove unused code

Diffstat:

Myoutube_dl/extractor/youtube.py5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -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.