mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 14:57:51 +08:00
- flake8
This commit is contained in:
parent
78333fae62
commit
31c3d1ed37
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user