aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/genericembeds.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/genericembeds.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/genericembeds.py')
-rw-r--r--yt_dlp/extractor/genericembeds.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/yt_dlp/extractor/genericembeds.py b/yt_dlp/extractor/genericembeds.py
index 9b4f14dd1..359d38bc0 100644
--- a/yt_dlp/extractor/genericembeds.py
+++ b/yt_dlp/extractor/genericembeds.py
@@ -15,8 +15,8 @@ class HTML5MediaEmbedIE(InfoExtractor):
'title': 'HTML5 Media',
'description': 'md5:933b2d02ceffe7a7a0f3c8326d91cc2a',
},
- 'playlist_count': 2
- }
+ 'playlist_count': 2,
+ },
]
def _extract_from_webpage(self, url, webpage):
@@ -50,7 +50,7 @@ class QuotedHTMLIE(InfoExtractor):
'description': 'md5:6816e1e5a65304bd7898e4c7eb1b26f7',
'age_limit': 0,
},
- 'playlist_count': 2
+ 'playlist_count': 2,
}, {
# Generic iframe embed of TV24UAPlayerIE within data-html
'url': 'https://24tv.ua/harkivyani-zgaduyut-misto-do-viyni-shhemlive-video_n1887584',
@@ -60,7 +60,7 @@ class QuotedHTMLIE(InfoExtractor):
'title': 'Харків\'яни згадують місто до війни: щемливе відео',
'thumbnail': r're:^https?://.*\.jpe?g',
},
- 'params': {'skip_download': True}
+ 'params': {'skip_download': True},
}, {
# YouTube embeds on Squarespace (data-html): https://github.com/ytdl-org/youtube-dl/issues/21294
'url': 'https://www.harvardballetcompany.org/past-productions',
@@ -70,7 +70,7 @@ class QuotedHTMLIE(InfoExtractor):
'age_limit': 0,
'description': 'Past Productions',
},
- 'playlist_mincount': 26
+ 'playlist_mincount': 26,
}, {
# Squarespace video embed, 2019-08-28, data-html
'url': 'http://ootboxford.com',