mirror of https://github.com/yt-dlp/yt-dlp.git
[ie/eplus] check if the url is not a player page but pass ticket index
This commit is contained in:
parent
3a54ea4bf0
commit
113758dea6
|
@ -142,6 +142,10 @@ class EplusIbIE(InfoExtractor):
|
|||
if data_json.get('drm_mode') == 'ON':
|
||||
self.report_drm(video_id)
|
||||
|
||||
if data_json.get('is_pass_ticket') == 'YES':
|
||||
raise ExtractorError(
|
||||
'Pass ticket url is not supported, please use a url points to the player page', expected=True)
|
||||
|
||||
delivery_status = data_json.get('delivery_status')
|
||||
archive_mode = data_json.get('archive_mode')
|
||||
release_timestamp = try_call(lambda: unified_timestamp(data_json['event_datetime']) - 32400)
|
||||
|
|
Loading…
Reference in New Issue