mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 09:28:33 +00:00
[ie/tbsjp] update tests
This commit is contained in:
parent
5759e2604b
commit
2634cff1a5
@ -13,22 +13,28 @@ class TBSJPEpisodeIE(StreaksBaseIE):
|
|||||||
_VALID_URL = r'https?://cu\.tbs\.co\.jp/episode/(?P<id>[\d_]+)'
|
_VALID_URL = r'https?://cu\.tbs\.co\.jp/episode/(?P<id>[\d_]+)'
|
||||||
_GEO_BYPASS = False
|
_GEO_BYPASS = False
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://cu.tbs.co.jp/episode/23613_2044134_1000049010',
|
'url': 'https://cu.tbs.co.jp/episode/14694_2090934_1000117476',
|
||||||
'skip': 'streams geo-restricted, Japan only. Also, will likely expire eventually',
|
'skip': 'geo-blocked to japan + 7-day expiry',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'title': 'VIVANT 第三話 誤送金完結へ!絶体絶命の反撃開始',
|
'title': '次世代リアクション王発掘トーナメント',
|
||||||
'id': '23613_2044134_1000049010',
|
'id': '14694_2090934_1000117476',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'upload_date': '20230728',
|
'display_id': 'ref:14694_2090934_1000117476',
|
||||||
'duration': 3517,
|
'description': 'md5:63a2f445387f9d8c50f4e76396df968f',
|
||||||
'release_timestamp': 1691118230,
|
'uploader_id': 'tbs',
|
||||||
'episode': '第三話 誤送金完結へ!絶体絶命の反撃開始',
|
'duration': 2761,
|
||||||
'release_date': '20230804',
|
'thumbnail': 'md5:5e044cd3431b1301de1a25911a6a9a4e',
|
||||||
'categories': 'count:11',
|
'categories': ['エンタメ', '水曜日のダウンタウン', 'ダウンタウン', '浜田雅功', '松本人志', '水ダウ', 'バラエティ', '動画'],
|
||||||
'episode_number': 3,
|
'series': '水曜日のダウンタウン',
|
||||||
'timestamp': 1690522538,
|
'episode': '次世代リアクション王発掘トーナメント',
|
||||||
'description': 'md5:2b796341af1ef772034133174ba4a895',
|
'episode_number': 335,
|
||||||
'series': 'VIVANT',
|
'timestamp': 1749547434,
|
||||||
|
'upload_date': '20250610',
|
||||||
|
'release_timestamp': 1749646802,
|
||||||
|
'release_date': '20250611',
|
||||||
|
'modified_timestamp': 1749647146,
|
||||||
|
'modified_date': '20250611',
|
||||||
|
'live_status': 'not_live',
|
||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@ -59,14 +65,14 @@ def _real_extract(self, url):
|
|||||||
class TBSJPProgramIE(InfoExtractor):
|
class TBSJPProgramIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://cu\.tbs\.co\.jp/program/(?P<id>\d+)'
|
_VALID_URL = r'https?://cu\.tbs\.co\.jp/program/(?P<id>\d+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://cu.tbs.co.jp/program/23601',
|
'url': 'https://cu.tbs.co.jp/program/14694',
|
||||||
'playlist_mincount': 4,
|
'playlist_mincount': 1,
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '23601',
|
'id': '14694',
|
||||||
'categories': ['エンタメ', 'ミライカプセル', '会社', '働く', 'バラエティ', '動画'],
|
'title': '水曜日のダウンタウン',
|
||||||
'description': '幼少期の夢は大人になって、どう成長したのだろうか?\nそしてその夢は今後、どのように広がっていくのか?\nいま話題の会社で働く人の「夢の成長」を描く',
|
'description': 'md5:cf1d46c76c2755d7f87512498718b837',
|
||||||
'series': 'ミライカプセル -I have a dream-',
|
'categories': ['エンタメ', '水曜日のダウンタウン', 'ダウンタウン', '浜田雅功', '松本人志', '水ダウ', 'バラエティ', '動画'],
|
||||||
'title': 'ミライカプセル -I have a dream-',
|
'series': '水曜日のダウンタウン',
|
||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user