@command('dlurl\\s(.*[-_a-zA-Z0-9]{11}.*)')
def dl_url(url):
 g.browse_mode = 'normal'
 yt_url(url)
 if (len(g.model) == 1):
  download('download', '1')
 if g.command_line:
  sys.exit()

@ command ( 'dlurl\\s(.*[-_a-zA-Z0-9]{11}.*)' ) def dl_url ( url ) : g . browse_mode = 'normal' yt_url ( url ) if ( len ( g . model ) == 1 ) : download ( 'download' , '1' ) if g . command_line : sys . exit ( )
open and prompt for download of youtube video url .