summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/tempo.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:11 +0000
commitfd5a06560caab95c71a2e2e805efa8d0f3a696a0 (patch)
treee1c600b8612bc4b301e2f51b875fcd835c5008cc /yt_dlp/extractor/tempo.py
parentReleasing progress-linux version 2024.05.27-1~progress7.99u1. (diff)
downloadyt-dlp-fd5a06560caab95c71a2e2e805efa8d0f3a696a0.tar.xz
yt-dlp-fd5a06560caab95c71a2e2e805efa8d0f3a696a0.zip
Merging upstream version 2024.07.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--yt_dlp/extractor/tempo.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/yt_dlp/extractor/tempo.py b/yt_dlp/extractor/tempo.py
index 71e54eb..4cd16f2 100644
--- a/yt_dlp/extractor/tempo.py
+++ b/yt_dlp/extractor/tempo.py
@@ -20,8 +20,8 @@ class IVXPlayerIE(InfoExtractor):
'upload_date': '20221204',
'title': 'Film Indonesia di Disney Content Showcase Asia Pacific 2022',
'timestamp': 1670151746,
- 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/2366065?width=300'
- }
+ 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/2366065?width=300',
+ },
}]
_WEBPAGE_TESTS = [{
'url': 'https://www.cantika.com/video/31737/film-indonesia-di-disney-content-showcase-asia-pacific-2022',
@@ -32,8 +32,8 @@ class IVXPlayerIE(InfoExtractor):
'title': 'Serial Indonesia di Disney Content Showcase Asia Pacific 2022',
'timestamp': 1670639416,
'upload_date': '20221210',
- 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/2374200?width=300'
- }
+ 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/2374200?width=300',
+ },
}, {
'url': 'https://www.gooto.com/video/11437/wuling-suv-ramai-dikunjungi-di-giias-2018',
'info_dict': {
@@ -44,8 +44,8 @@ class IVXPlayerIE(InfoExtractor):
'description': 'md5:6d901483d0aacc664aecb4489719aafa',
'duration': 75,
'timestamp': 1534011263,
- 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/892109?width=300'
- }
+ 'thumbnail': 'https://ivx-image.ivideosmart.com/serve/image/video/892109?width=300',
+ },
}]
@classmethod
@@ -56,7 +56,7 @@ class IVXPlayerIE(InfoExtractor):
webpage)
if mobj:
yield f'ivxplayer:{mobj.group("video_id")}:{mobj.group("player_key")}'
- raise cls.StopExtraction()
+ raise cls.StopExtraction
def _real_extract(self, url):
video_id, player_key = self._match_valid_url(url).group('video_id', 'player_key')
@@ -74,7 +74,7 @@ class IVXPlayerIE(InfoExtractor):
'timestamp': parse_iso8601(traverse_obj(json_data, ('ivx', 'published_at'))),
'formats': formats,
'subtitles': subtitles,
- 'thumbnail': traverse_obj(json_data, ('ivx', 'thumbnail_url'))
+ 'thumbnail': traverse_obj(json_data, ('ivx', 'thumbnail_url')),
}
@@ -93,7 +93,7 @@ class TempoIE(InfoExtractor):
'timestamp': 1658907970,
'upload_date': '20220727',
'tags': ['Anies Baswedan', ' PTUN', ' PTUN | Pengadilan Tata Usaha Negara', ' PTUN Batalkan UMP DKI', ' UMP DKI'],
- }
+ },
}]
def _real_extract(self, url):