def funshion_download_by_drama_url(url, output_dir='.', merge=False, info_only=False):
 id = r1('http://www.fun.tv/vplay/.*g-(\\d+)', url)
 video_list = funshion_drama_id_to_vid(id)
 for video in video_list:
  funshion_download_by_id((video[0], id), output_dir=output_dir, merge=merge, info_only=info_only)

def funshion_download_by_drama_url ( url , output_dir = '.' , merge = False , info_only = False ) : id = r1 ( 'http://www.fun.tv/vplay/.*g-(\\d+)' , url ) video_list = funshion_drama_id_to_vid ( id ) for video in video_list : funshion_download_by_id ( ( video [ 0 ] , id ) , output_dir = output_dir , merge = merge , info_only = info_only )
str->none url = URL .