短视频去水印

一、使用方法

打开短视频APP, 选择要下载的视频,点击右下角分享按钮,在分享弹框中点击“复制链接”

将刚才复制的链接粘贴到下面的输入框(中文可以不用去掉)

短视频去水印_第1张图片

二、短视频解析王源码

public function analysis($videoUrl)
    {
        try {
            $url = "http://apis.xiaofanmo.site/home/api?uid=1973594&key=dfijlrswBCDFLNWY09&url=" . $videoUrl;
            $s = file_get_contents($url);
            $s = json_decode($s, true);

            if ($s['code'] == '0001') {
                $s = $s['data'];

                $reData = [
                    "title" => $s['desc'],
                    "cover" => $s['cover']
                ];
                if ($s['type'] == '2') {
                    $reData['images'] = $s['pics'];
                } else {
                    $reData['video'] = $this->getUrl302($s['playAddr']);
                }

                return [
                    "code" => 200,
                    "data" => $reData,
                    "msg" => "解析成功"
                ];
            } else {
                    return [
                        "code" => -1,
                        "data" => null,
                        "msg" => "解析失败,不支持该平台"
                    ];
            }
        } catch (Exception $e) {
            return [
                "code" => -1,
                "data" => null,
                "msg" => "解析失败,程序出错了"
            ];
        }
    }

三、去水印截图

短视频去水印_第2张图片短视频去水印_第3张图片

你可能感兴趣的:(短视频去水印,视频去水印,抖音去水印,去水印工具)