http://gitunderground.i2p/archive/youtube-dl/src/commit/dcdb292fddc82ae11f4c0b647815a45c88a6b6d5/youtube_dl/extractor/tumblr.py
_search_regex ( r 'data-crt-options=([" \' ])(?P<options>.+?)\1' , iframe , 'hd video url' , default = '' , group = 'options' ), video_id , fatal = False ) if options : duration = int_or_none ( options . get ( 'duration' )) hd_url = options . get ( 'hdUrl' ) if hd_url : sources . append (( hd_url , 'hd' )) formats = [{ 'url' : video_url , 'ext' : 'mp4' , 'format_id' : format_id , 'height' : int_or_none ( self .