#NEWLINE# def _real_extract( self , url ) : #NEWLINE# #INDENT# mobj = re . match ( self . _VALID_URL , url ) #NEWLINE# video_id = mobj . group ( 'id' ) #NEWLINE# webpage = self . _download_webpage ( url , video_id ) #NEWLINE# jsplayer = self . _download_webpage ( ( 'http://www.moviezine.se/api/player.js?video=%s' % video_id ) , video_id , 'Downloading js api player' ) #NEWLINE# formats = [ { #NEWLINE# #INDENT# 'format_id' : 'sd' , #NEWLINE# 'url' : self . _html_search_regex ( 'file: "(.+?)",' , jsplayer , 'file' ) , #NEWLINE# 'quality' : 0 , #NEWLINE# 'ext' : 'mp4' , #NEWLINE# #UNINDENT# } ] #NEWLINE# self . _sort_formats ( formats ) #NEWLINE# return { #NEWLINE# #INDENT# 'id' : video_id , #NEWLINE# 'title' : self . _search_regex ( 'title: "(.+?)",' , jsplayer , 'title' ) , #NEWLINE# 'thumbnail' : self . _search_regex ( 'image: "(.+?)",' , jsplayer , 'image' ) , #NEWLINE# 'formats' : formats , #NEWLINE# 'description' : self . _og_search_description ( webpage ) , #NEWLINE# #UNINDENT# }