From 78333fae62e04d6bc4c92c0bede0b84b27b0de6d Mon Sep 17 00:00:00 2001 From: carsten demming Date: Thu, 22 Feb 2018 20:44:20 +0100 Subject: [PATCH] - renamed method --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 090b69dd4..4491d35bd 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -76,7 +76,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor): self.url_result(vid_id, 'Youtube', video_id=vid_id) for vid_id in ids] - def _ids_to_results2(self, id_objects): + def _ids_to_results_with_title(self, id_objects): return [ self.url_result(curr_id_obj["vid_id"], 'Youtube', video_id=curr_id_obj["vid_id"], video_title=curr_id_obj["title"]) for curr_id_obj in id_objects] @@ -2637,7 +2637,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubePlaylistIE): 'title': extracted_title.encode('utf-8') }) - new_videos = self._ids_to_results2(video_id_objects) + new_videos = self._ids_to_results_with_title(video_id_objects) videos += new_videos if not new_videos or len(videos) > limit: