mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-21 23:48:57 +00:00
Fix ruff checks
This commit is contained in:
@@ -477,7 +477,7 @@ class FacebookIE(InfoExtractor):
|
|||||||
except network_exceptions as err:
|
except network_exceptions as err:
|
||||||
self.report_warning(f'unable to log in: {err}')
|
self.report_warning(f'unable to log in: {err}')
|
||||||
return
|
return
|
||||||
|
|
||||||
def _extract_metadata(self, webpage, video_id):
|
def _extract_metadata(self, webpage, video_id):
|
||||||
post_data = [self._parse_json(j, video_id, fatal=False) for j in re.findall(
|
post_data = [self._parse_json(j, video_id, fatal=False) for j in re.findall(
|
||||||
r'data-sjs>({.*?ScheduledServerJS.*?})</script>', webpage)]
|
r'data-sjs>({.*?ScheduledServerJS.*?})</script>', webpage)]
|
||||||
|
|||||||
Reference in New Issue
Block a user