1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 14:57:51 +08:00
This commit is contained in:
carsten demming 2018-02-22 20:47:08 +01:00
parent 78333fae62
commit 31c3d1ed37

View File

@ -2629,9 +2629,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubePlaylistIE):
regex_post = ').+?(?=title)title\s*=\s*"([^"]+)"[^>]+'
for curr_id in video_ids:
regex_combined = r'' + regex_pre + curr_id + regex_post
extracted_title = self._html_search_regex(
regex_combined,
html_content,'title')
extracted_title = self._html_search_regex(regex_combined, html_content, 'title')
video_id_objects.append({
'vid_id': curr_id,
'title': extracted_title.encode('utf-8')