mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-20 02:55:59 +03:00
@@ -7,6 +7,7 @@ from ..networking.exceptions import HTTPError
|
||||
from ..utils import (
|
||||
ExtractorError,
|
||||
dict_get,
|
||||
str_or_none,
|
||||
strip_or_none,
|
||||
traverse_obj,
|
||||
try_get,
|
||||
@@ -80,7 +81,11 @@ class RCTIPlusIE(RCTIPlusBaseIE):
|
||||
'timestamp': 1587561540,
|
||||
'upload_date': '20200422',
|
||||
'series': 'iNews Malam',
|
||||
'channel': 'INews',
|
||||
'channel': 'INEWS',
|
||||
'channel_id': '4',
|
||||
'thumbnail': 'https://static.rctiplus.id/media/2000/files/fta_rcti/Portrait/iNews_Malam/inews_malam_768x1152.jpg',
|
||||
'categories': ['Hard News'],
|
||||
'live_status': 'not_live',
|
||||
},
|
||||
}, { # Missed event/replay
|
||||
'url': 'https://www.rctiplus.com/missed-event/2507/mou-signing-ceremony-27-juli-2021-1400-wib',
|
||||
@@ -117,12 +122,13 @@ class RCTIPlusIE(RCTIPlusBaseIE):
|
||||
'url': 'https://www.rctiplus.com/live-event/1/rcti',
|
||||
'info_dict': {
|
||||
'id': 'v_lt1',
|
||||
'title': 'RCTI',
|
||||
'title': r're:RCTI \d{4}-\d{2}-\d{2} \d{2}:\d{2}',
|
||||
'display_id': 'rcti',
|
||||
'ext': 'mp4',
|
||||
'timestamp': 1546344000,
|
||||
'upload_date': '20190101',
|
||||
'is_live': True,
|
||||
'thumbnail': 'https://static.rctiplus.id/media/2000/files/fta_rcti/Channel_Logo/por-RCTI.png',
|
||||
'live_status': 'is_live',
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True,
|
||||
@@ -207,7 +213,7 @@ class RCTIPlusIE(RCTIPlusBaseIE):
|
||||
'season_number': video_meta.get('season'),
|
||||
'episode_number': video_meta.get('episode'),
|
||||
'channel': video_json.get('tv_name'),
|
||||
'channel_id': video_json.get('tv_id'),
|
||||
'channel_id': str_or_none(video_json.get('tv_id')),
|
||||
'formats': formats,
|
||||
'thumbnails': thumbnails,
|
||||
'is_live': video_type == 'live-event' and not is_upcoming,
|
||||
|
||||
Reference in New Issue
Block a user