1. 首页
  2. 资源
  3. 源码

皮皮虾无水印视频解析接口及源码软件

皮皮虾是一个很好玩的软件,里面有很多好玩的视频和一群搞笑的人,大家互相称呼为皮友。

皮皮虾无水印视频解析下载
皮皮虾无水印视频解析下载

 

有时候我们很想下载皮皮虾APP里面的视频,但是苦于有皮皮虾的水印,我们无法分享到其它地方,那么三更灯火网为大家相应的解析接口。

 

PHP版的皮皮虾视频无水印解析接口(测试2020-4-4有效):

目标接口:https://h5.pipix.com/bds/webapi/item/detail/?item_id=

id根据301跳转后截取item/ 和?中间的值

curl模拟设备获取数据 然后输出json

<?php
$url = @$_GET['url'];
if (strstr($url,"pipix.com")) {
//获取301跳转真实地址	
function getrealurl($url){ $header = get_headers($url,1); 
if (strpos($header[0],'301') || strpos($header[0],'302')) 
{if(is_array($header['Location'])) {return $header['Location'][count($header['Location'])-1];
}else{return $header['Location'];}}else{return $url;}};
$url = getrealurl($url);
//模拟苹果手机访问
$UserAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1';
// 截取ID
function GetBetween($content,$start,$end) {
$r = explode($start, $content);
if (isset($r[1])) {
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
$b = 'item/';
$c = '?';
$id = GetBetween($url,$b,$c);
$d ='https://h5.pipix.com/bds/webapi/item/detail/?item_id='.$id;
//curl
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $d);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_ENCODING, '');
curl_setopt($curl, CURLOPT_USERAGENT, $UserAgent);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
$data = curl_exec($curl);
$a = $data;
curl_close($curl);
header('Content-type:text/json'); 
$Array = json_decode($a,true);
$name = $Array["data"]["item"]["video"]["text"];
$videourl= $Array["data"]["item"]["origin_video_download"]["url_list"]['0']['url'];
$cover = $Array["data"]["item"]["origin_video_download"]["cover_image"]["download_list"]["0"]['url'];
if($videourl==""){
	$status = "0";
}else{
	$status="1";
}
$Json = array('status'=>$status,'name'=>$name,'cover'=>$cover,'videourl'=>$videourl);
$turl=json_encode($Json,JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE);
echo stripslashes($turl);
} else
{
echo '请输入皮皮虾分享的地址,如:https://h5.pipix.com/s/hukXsy/';
}
?>

 

Python版皮皮虾视频无水印解析接口(测试2020-4-4有效):

def parsePpx(murl):
    try:
        item_id = getRealPlayAddress(murl).split("/")[4].split("?")[0]
        url = 'https://h5.pipix.com/bds/webapi/item/detail/?item_id=%s'%item_id
        mResponse = requests.get(url, headers=HEADERS3, verify=False).content.decode('UTF-8')
        mJson = json.loads(mResponse)
        videoUrl = mJson['data']['item']['origin_video_download']['url_list'][0]['url']
        video_title = mJson['data']['item']['video']['text']
        print(video_title)
        video_title = emoji.demojize(video_title).replace(":","").replace("@","-").replace("~","-").replace("*","-").replace(",","-").replace(":","-").replace(":","-").replace("#","-").replace(",","-").replace("。","-").replace(".","-").replace("&","-").replace("%","-").replace("$","-").replace("¥","-").replace("!","-").replace("!","-").replace(" ","-").replace("\n","")
        return '{"video_title":"%s","video_url":"%s"}'%(video_title,videoUrl)
    except:
        return '{"msg":"视频可能已被删除"}'

@app.route("/jiexi_v3_pipixia",methods=["GET"])
def jiexi_v3_pipixia():
    url = request.values.get('url')
    return parsePpx(url)

 

Win版皮皮虾视频无水印下载软件及源码(测试2020-4-4有效):

皮皮虾无水印视频解析下载
皮皮虾无水印视频解析下载

使用说明:将分享的链接填写在第一栏,点击解析,即可解析到无水印的皮皮虾视频地址,然后将下面的地址复制粘贴到浏览器即可保存视频

推荐下载地址:https://474b.com/file/811508-435010238

备用下载地址:https://www.lanzous.com/iazbncb

登录三更灯火网即可查看隐藏内容(包含不限于附加资源、解压密码、提取码等)

本文隐藏内容 登陆 后才可以浏览

原创文章,作者:三更灯火网,如若转载,请注明出处:http://www.sgdhuo.com/ziyuan/493.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

联系我们

三更灯火网

在线咨询:点击这里给我发消息

工作时间:周一至周五,9:30-18:30,节假日休息

QR code