mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:20:47 +00:00 
			
		
		
		
	[extractor/tver] Fix bug in 6837633a4a
				
					
				
			This corrects a mistake in 64fa820ccf
Authored by: Lesmiscore
Closes #4054
			
			
This commit is contained in:
		@@ -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():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user