mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
[extractor/tver] Fix bug in 6837633a4a
This corrects a mistake in 64fa820ccf
Authored by: Lesmiscore
Closes #4054
This commit is contained in:
parent
55baa67c7c
commit
2523702718
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class TVerIE(InfoExtractor):
|
|||
'Referer': 'https://tver.jp/',
|
||||
})
|
||||
p_id = video_info['video']['accountID']
|
||||
r_id = traverse_obj(video_info, ('video', ('videoRefID', 'videoID')))
|
||||
r_id = traverse_obj(video_info, ('video', ('videoRefID', 'videoID')), get_all=False)
|
||||
if not r_id:
|
||||
raise ExtractorError('Failed to extract reference ID for Brightcove')
|
||||
if not r_id.isdigit():
|
||||
|
|
Loading…
Reference in a new issue