summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/japandiet.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/japandiet.py')
-rw-r--r--yt_dlp/extractor/japandiet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/extractor/japandiet.py b/yt_dlp/extractor/japandiet.py
index 19d2b92..2ef091a 100644
--- a/yt_dlp/extractor/japandiet.py
+++ b/yt_dlp/extractor/japandiet.py
@@ -41,7 +41,7 @@ def _parse_japanese_duration(text):
mobj = re.search(r'(?:(\d+)日間?)?(?:(\d+)時間?)?(?:(\d+)分)?(?:(\d+)秒)?', re.sub(r'[\s\u3000]+', '', text or ''))
if not mobj:
return
- days, hours, mins, secs = [int_or_none(x, default=0) for x in mobj.groups()]
+ days, hours, mins, secs = (int_or_none(x, default=0) for x in mobj.groups())
return secs + mins * 60 + hours * 60 * 60 + days * 24 * 60 * 60
@@ -142,10 +142,10 @@ class ShugiinItvVodIE(ShugiinItvBaseIE):
'title': 'ウクライナ大統領国会演説(オンライン)',
'release_date': '20220323',
'chapters': 'count:4',
- }
+ },
}, {
'url': 'https://www.shugiintv.go.jp/en/index.php?ex=VL&media_type=&deli_id=53846',
- 'only_matching': True
+ 'only_matching': True,
}]
def _real_extract(self, url):
@@ -232,7 +232,7 @@ class SangiinIE(InfoExtractor):
'is_live': True,
},
'skip': 'this live is turned into archive after it ends',
- }, ]
+ }]
def _real_extract(self, url):
video_id = self._match_id(url)