diff --git a/yt_dlp/extractor/smotrim.py b/yt_dlp/extractor/smotrim.py index 4e425d9d1..38ba5a22a 100644 --- a/yt_dlp/extractor/smotrim.py +++ b/yt_dlp/extractor/smotrim.py @@ -75,7 +75,7 @@ def _real_extract(self, url): ) if not video_id: raise ExtractorError( - 'There are no player uuid in this page.', expected=True + 'There are no player uuid in this page.', expected=True, ) video_id = video_id.group('video_id') jsondata_url = ( @@ -89,7 +89,7 @@ def _real_extract(self, url): ) if not video_id: raise ExtractorError( - 'There are no player id in this page.', expected=True + 'There are no player id in this page.', expected=True, ) video_id = video_id.group('video_id') jsondata_url = ( @@ -97,7 +97,7 @@ def _real_extract(self, url): ) try: json_info = self._download_json( - jsondata_url, video_id, 'Downloading player config JSON metadata' + jsondata_url, video_id, 'Downloading player config JSON metadata', ) except Exception as e: raise ExtractorError(str(e), expected=True) @@ -105,7 +105,7 @@ def _real_extract(self, url): 'auto' ] formats, subtitles = self._extract_m3u8_formats_and_subtitles( - m3u8_url, video_id, 'mp4', m3u8_id='hls' + m3u8_url, video_id, 'mp4', m3u8_id='hls', ) return { 'id': video_id,