]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/godresource.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / godresource.py
index 276a6c7fe918a5611ea7209ab37183e2813de379..35cc30cd8db4660de620b53cd4d67f8ec371bb25 100644 (file)
@@ -24,7 +24,7 @@ class GodResourceIE(InfoExtractor):
             'channel': 'Stedfast Baptist Church',
             'upload_date': '20240320',
             'title': 'GodResource video #A01mTKjyf6w',
-        }
+        },
     }, {
         # mp4 link
         'url': 'https://new.godresource.com/video/01DXmBbQv_X',
@@ -39,7 +39,7 @@ class GodResourceIE(InfoExtractor):
             'channel': 'Documentaries',
             'title': 'The Sodomite Deception',
             'upload_date': '20230629',
-        }
+        },
     }]
 
     def _real_extract(self, url):
@@ -56,7 +56,7 @@ def _real_extract(self, url):
         elif ext == 'mp4':
             formats, subtitles = [{
                 'url': video_url,
-                'ext': ext
+                'ext': ext,
             }], {}
         else:
             raise ExtractorError(f'Unexpected video format {ext}')
@@ -74,6 +74,6 @@ def _real_extract(self, url):
                 'channel': ('channelName', {str}),
                 'channel_id': ('channelId', {str_or_none}),
                 'timestamp': ('streamDateCreated', {unified_timestamp}),
-                'modified_timestamp': ('streamDataModified', {unified_timestamp})
-            })
+                'modified_timestamp': ('streamDataModified', {unified_timestamp}),
+            }),
         }