#NEWLINE# def _get_streams( self ) : #NEWLINE# #INDENT# match = _url_re . search ( self . url ) #NEWLINE# root = match . group ( 1 ) #NEWLINE# res = http . get ( self . url ) #NEWLINE# match = _playlist_re . search ( res . text ) #NEWLINE# playlist_url = ( ( root + match . group ( 1 ) ) + 'd' ) #NEWLINE# res = http . get ( playlist_url ) #NEWLINE# match = _manifest_re . search ( res . text ) #NEWLINE# manifest_url = match . group ( 1 ) #NEWLINE# match = _swf_re . search ( res . text ) #NEWLINE# swf_url = match . group ( 1 ) #NEWLINE# streams = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# streams . update ( HDSStream . parse_manifest ( self . session , manifest_url , pvswf = swf_url ) ) #NEWLINE# return streams