Iqiyi::getVideoUrl PHP Method

getVideoUrl() private static method

返回最终视频地址
private static getVideoUrl ( $url_data, $proxy = '' )
    private static function getVideoUrl($url_data, $proxy = '')
    {
        $data = self::rolling_curl($url_data, $proxy);
        $urls = array();
        foreach ($url_data as $val) {
            //按顺序排列视频 url
            $urls[] = $data[$val];
        }
        return $urls;
    }