[extractor/tver] Fix bug in 6837633a4a

This corrects a mistake in 64fa820ccf
Authored by: Lesmiscore
Closes #4054
This commit is contained in:
Lesmiscore 2022-06-12 12:06:00 +09:00
parent 55baa67c7c
commit 2523702718
No known key found for this signature in database
GPG Key ID: 0EC2B52CF86236FF

View File

@ -76,7 +76,7 @@ def _real_extract(self, url):
'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():