def veoh_download_by_id(item_id, output_dir='.', merge=False, info_only=False, **kwargs):
 webpage_url = 'http://www.veoh.com/m/watch.php?v={item_id}&quality=1'.format(item_id=item_id)
 a = get_content(webpage_url, decoded=True)
 url = match1(a, '<source src="(.*?)\\"\\W')
 title = match1(a, '<meta property="og:title" content="([^"]*)"')
 (type_, ext, size) = url_info(url)
 print_info(site_info, title, type_, size)
 if (not info_only):
  download_urls([url], title, ext, total_size=None, output_dir=output_dir, merge=merge)

def veoh_download_by_id ( item_id , output_dir = '.' , merge = False , info_only = False , ** kwargs ) : webpage_url = 'http://www.veoh.com/m/watch.php?v={item_id}&quality=1' . format ( item_id = item_id ) a = get_content ( webpage_url , decoded = True ) url = match1 ( a , '<source src="(.*?)\\"\\W' ) title = match1 ( a , '<meta property="og:title" content="([^"]*)"' ) ( type_ , ext , size ) = url_info ( url ) print_info ( site_info , title , type_ , size ) if ( not info_only ) : download_urls ( [ url ] , title , ext , total_size = None , output_dir = output_dir , merge = merge )
source: android mobile .