From c4e22096adbbaa391522e3874d2ff19bde814393 Mon Sep 17 00:00:00 2001 From: Nikolay Fedorov <40500428+swayll@users.noreply.github.com> Date: Fri, 1 Aug 2025 22:42:07 +0300 Subject: [PATCH] Fixed 'COM812 Trailing comma missing' --- yt_dlp/extractor/smotrim.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,