mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Fix autopep8 changes
This commit is contained in:
parent
d047f06673
commit
01c8529ab1
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ def _extract_metadata(self, webpage, video_id):
|
||||||
|
|
||||||
info_json_ld = self._search_json_ld(webpage, video_id, default={})
|
info_json_ld = self._search_json_ld(webpage, video_id, default={})
|
||||||
info_json_ld['title'] = (re.sub(r'\s*\|\s*Facebook$', '', title or info_json_ld.get('title') or page_title or '')
|
info_json_ld['title'] = (re.sub(r'\s*\|\s*Facebook$', '', title or info_json_ld.get('title') or page_title or '')
|
||||||
or (description or '').replace('\n', ' ') or f'Facebook video #{video_id}')
|
or (description or '').replace('\n', ' ') or f'Facebook video #{video_id}')
|
||||||
return merge_dicts(info_json_ld, info_dict)
|
return merge_dicts(info_json_ld, info_dict)
|
||||||
|
|
||||||
def _extract_from_url(self, url, video_id):
|
def _extract_from_url(self, url, video_id):
|
||||||
|
|
Loading…
Reference in a new issue