演示:https://api.dzzui.com/api/lanzoujx?url=https://dzzui.lanzouy.com/iDLehz4zj2f
代码
<?php $url=base64_decode('aHR0cHM6Ly9hcGkuZHp6dWkuY29tL2FwaS9sYW56b3VqeA==').'?url='.$_GET['url'].'&pwd='.$_GET['pwd'].'&type='.$_GET['type']; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); $output = curl_exec($ch); curl_close($ch); echo $output; ?>
使用方法
GET参数:
url:蓝奏云链接,不为空
pwd:密码,可为空
type:txt只输出下载链接,留空则json格式输出
发表评论