From c01b70eef847855d85103ff168f92b7558e0ad99 Mon Sep 17 00:00:00 2001 From: Nikolay Fedorov <40500428+swayll@users.noreply.github.com> Date: Sat, 2 Aug 2025 01:12:12 +0300 Subject: [PATCH] Fix 'COM819 Trailing comma prohibited' and '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 685896c3c..ae1e304c7 100644 --- a/yt_dlp/extractor/smotrim.py +++ b/yt_dlp/extractor/smotrim.py @@ -55,8 +55,8 @@ class SmotrimIE(InfoExtractor): 'thumbnail': 'https://cdn-st2.smotrim.ru/vh/pictures/xw/441/085/7.png', 'subtitles': { 'ru': [ - {'url': 'https://vgtrkregion-reg.cdnvideo.ru/vgtrk/0/kultura-hd/track_2001_319a299f/chunklist.m3u8', 'ext': 'vtt', 'protocol': 'm3u8_native',}, - ] + {'url': 'https://vgtrkregion-reg.cdnvideo.ru/vgtrk/0/kultura-hd/track_2001_319a299f/chunklist.m3u8', 'ext': 'vtt', 'protocol': 'm3u8_native'}, + ], }, 'is_live': True, }, @@ -71,8 +71,8 @@ class SmotrimIE(InfoExtractor): 'thumbnail': 'https://cdn-st2.smotrim.ru/vh/pictures/xw/441/085/7.png', 'subtitles': { 'ru': [ - {'url': 'https://vgtrkregion-reg.cdnvideo.ru/vgtrk/0/kultura-hd/track_2001_319a299f/chunklist.m3u8', 'ext': 'vtt', 'protocol': 'm3u8_native',}, - ] + {'url': 'https://vgtrkregion-reg.cdnvideo.ru/vgtrk/0/kultura-hd/track_2001_319a299f/chunklist.m3u8', 'ext': 'vtt', 'protocol': 'm3u8_native'}, + ], }, 'is_live': True, },