def funshion_download_by_vid(vid, output_dir='.', merge=False, info_only=False):
 title = funshion_get_title_by_vid(vid)
 url_list = funshion_vid_to_urls(vid)
 for url in url_list:
  (type, ext, size) = url_info(url)
  print_info(site_info, title, type, size)
 if (not info_only):
  download_urls(url_list, title, ext, total_size=None, output_dir=output_dir, merge=merge)

def funshion_download_by_vid ( vid , output_dir = '.' , merge = False , info_only = False ) : title = funshion_get_title_by_vid ( vid ) url_list = funshion_vid_to_urls ( vid ) for url in url_list : ( type , ext , size ) = url_info ( url ) print_info ( site_info , title , type , size ) if ( not info_only ) : download_urls ( url_list , title , ext , total_size = None , output_dir = output_dir , merge = merge )
vid->none secondary wrapper for single video download .