#NEWLINE# def _real_extract( self , url ) : #NEWLINE# #INDENT# video_id = self . _match_id ( url ) #NEWLINE# webpage = self . _download_webpage ( video_id , video_id ) #NEWLINE# title = self . _html_search_regex ( '<title>(.*?)</title>' , webpage , 'title' ) #NEWLINE# video_url = ( self . http_scheme ( ) + self . _search_regex ( '<source src="(.*?)" type="video/mp4">' , webpage , 'video URL' ) ) #NEWLINE# thumbnail_url = self . _search_regex ( '<img id="video-thumbnail" src="(.*?)"' , webpage , 'thumbnail url' , fatal = False ) #NEWLINE# thumbnail = ( thumbnail_url if ( thumbnail_url is None ) else ( self . http_scheme ( ) + thumbnail_url ) ) #NEWLINE# return { #NEWLINE# #INDENT# 'id' : video_id , #NEWLINE# 'title' : title , #NEWLINE# 'url' : video_url , #NEWLINE# 'thumbnail' : thumbnail , #NEWLINE# #UNINDENT# }