蓝奏云直链API接口PHP源代码

最后编辑时间: 2022-03-13

最新PHP蓝奏云直链API接口源代码

<?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格式输出

请在下方留下您的评论.加入TG吹水群