[extractor/tver] Fix bug in 6837633a4a

This corrects a mistake in 64fa820ccf
Authored by: Lesmiscore
Closes #4054
pull/3640/merge
Lesmiscore 2 years ago
parent 55baa67c7c
commit 2523702718
No known key found for this signature in database
GPG Key ID: 0EC2B52CF86236FF

@ -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…
Cancel
Save