aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/godresource.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2024-06-12 01:09:58 +0200
committerGitHub <noreply@github.com>2024-06-12 01:09:58 +0200
commitadd96eb9f84cfffe85682bf2fb85135746994ee8 (patch)
tree583f209506aa01b2afa3933e504426de575fc43c /yt_dlp/extractor/godresource.py
parentdb50f19d76c6870a5a13d0cab9287d684fd7449a (diff)
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'yt_dlp/extractor/godresource.py')
-rw-r--r--yt_dlp/extractor/godresource.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/yt_dlp/extractor/godresource.py b/yt_dlp/extractor/godresource.py
index 276a6c7fe..35cc30cd8 100644
--- a/yt_dlp/extractor/godresource.py
+++ b/yt_dlp/extractor/godresource.py
@@ -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 @@ class GodResourceIE(InfoExtractor):
elif ext == 'mp4':
formats, subtitles = [{
'url': video_url,
- 'ext': ext
+ 'ext': ext,
}], {}
else:
raise ExtractorError(f'Unexpected video format {ext}')
@@ -74,6 +74,6 @@ class GodResourceIE(InfoExtractor):
'channel': ('channelName', {str}),
'channel_id': ('channelId', {str_or_none}),
'timestamp': ('streamDateCreated', {unified_timestamp}),
- 'modified_timestamp': ('streamDataModified', {unified_timestamp})
- })
+ 'modified_timestamp': ('streamDataModified', {unified_timestamp}),
+ }),
}