#NEWLINE# def _get_streams( self ) : #NEWLINE# #INDENT# urlparts = self . url . split ( '/' ) #NEWLINE# self . npo_id = self [ ( - 1 ) ] #NEWLINE# if ( urlparts [ ( - 2 ) ] == 'live' ) : #NEWLINE# #INDENT# return self . _get_live_streams ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . _get_vod_streams ( )