mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:37:07 -05:00 
			
		
		
		
	[blinkxx] Add support for youtube videos
This commit is contained in:
		@@ -54,6 +54,10 @@ class BlinkxIE(InfoExtractor):
 | 
				
			|||||||
                })
 | 
					                })
 | 
				
			||||||
            elif m['type'] == 'original':
 | 
					            elif m['type'] == 'original':
 | 
				
			||||||
                duration = m['d']
 | 
					                duration = m['d']
 | 
				
			||||||
 | 
					            elif m['type'] == 'youtube':
 | 
				
			||||||
 | 
					                yt_id = m['link']
 | 
				
			||||||
 | 
					                self.to_screen(u'Youtube video detected: %s' % yt_id)
 | 
				
			||||||
 | 
					                return self.url_result(yt_id, 'Youtube', video_id=yt_id)
 | 
				
			||||||
            elif m['type'] in ('flv', 'mp4'):
 | 
					            elif m['type'] in ('flv', 'mp4'):
 | 
				
			||||||
                vcodec = remove_start(m['vcodec'], 'ff')
 | 
					                vcodec = remove_start(m['vcodec'], 'ff')
 | 
				
			||||||
                acodec = remove_start(m['acodec'], 'ff')
 | 
					                acodec = remove_start(m['acodec'], 'ff')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user