<?php
/**
 * Created By 1
 * Author：smalls
 * Email：smalls0098@gmail.com
 * Date：2020/4/26 - 22:15
 **/

use Smalls\VideoTools\VideoManager;

require '../vendor/autoload.php';

$res = '';


//$res = VideoManager::DouYin()->setIsCheckUrl(true)->setProxy('47.112.221.156:3128')->start("https://v.douyin.com/JeoLRe4/");
$res = VideoManager::DouYin()->start("https://v.douyin.com/JeoLRe4/");
var_dump($res['video_url']);
//$res = VideoManager::KuaiShou()->start("https://v.kuaishou.com/8qIlZu");
//var_dump($res['video_url']);
//$res = VideoManager::HuoShan()->start("https://share.huoshan.com/hotsoon/s/xlYI8QN0pa8/");
//var_dump($res['video_url']);
//$res = VideoManager::TouTiao()->start("https://m.toutiaoimg.cn/a6849721585574773262/?app=news_article&is_hit_share_recommend=0");
//var_dump($res['video_url']);
//$res = VideoManager::XiGua()->start("https://m.ixigua.com/group/6761303513852019214/?app=video_article&timestamp=1587970696&utm_source=copy_link&utm_medium=android&utm_campaign=client_share");
//var_dump($res['video_url']);
//$res = VideoManager::WeiShi()->start("https://h5.weishi.qq.com/weishi/feed/6Z7Uxwu7H1JsBFXPo/wsfeed?wxplay=1&id=6Z7Uxwu7H1JsBFXPo&collectionid=1bc8fe60a09dce07a4c5ce449b3c16bf&spid=8404838818534879236&qua=v1_and_weishi_6.7.6_588_312027000_d&chid=100081003&pkg=&attach=cp_reserves3_1000370721");
//var_dump($res['video_url']);
//$res = VideoManager::PiPiXia()->start("https://h5.pipix.com/s/wkwJBk/");
//var_dump($res['video_url']);
//$res = VideoManager::ZuiYou()->start("https://share.izuiyou.com/detail/152254948?zy_to=applink&to=applink");
//$res = VideoManager::ZuiYou()->start("https://share.izuiyou.com/hybrid/share/post?pid=141822110&zy_to=applink&share_count=1&m=c62016eadcf95203dbae83f988e99ce0&d=5fbb3318f220ee837731bba0370f49df718aca08a5919194a78432ebfc4cf40fb110fd96bfaffc80d32837ce18fbf743&app=zuiyou&recommend=top_ctr&name=use_push_only&title_type=post");
//var_dump($res['video_url']);
//$res = VideoManager::MeiPai()->start("http://www.meipai.com/media/1200571483?client_id=1089857302&utm_media_id=1200571483&utm_source=meipai_share&utm_term=meipai_android&gid=2211243272");
//var_dump($res['video_url']);
//$res = VideoManager::LiVideo()->start("https://www.pearvideo.com/detail_1671290?st=7");
//var_dump($res['video_url']);
//$res = VideoManager::QuanMingGaoXiao()->start("https://longxia.music.xiaomi.com/share/video/6528730793005613056?sharerUserId=1939294&ref=WEIXIN");
//var_dump($res['video_url']);
//$res = VideoManager::PiPiGaoXiao()->start("http://share.ippzone.com/pp/post/48839688240");
//var_dump($res['video_url']);
//$res = VideoManager::MoMo()->start("https://m.immomo.com/s/moment/new-share-v2/ar8441324333.html?time=1587999787&name=46A41p1gHVzsiHb7+C4KCw==&avatar=85B3CC10-D284-1A12-4BDD-41AE6AFB870520200427&isdaren=1&isuploader=0&from=qqfriend");
//var_dump($res['video_url']);
//$res = VideoManager::ShuaBao()->start("http://h5.shua8cn.com/video_share?share_type=copy_url&video_source=recommend&platform=android&show_id=380b84faf9fabbcc7cf0de768d111e81&uid=0&invite_code=&_timestamp=1588001308&_sign=3009fbd584b721e2b7e46f3e94452d40");
//$res = VideoManager::ShuaBao()->start("http://m.shua8cn.com/cVId3f");
//var_dump($res['video_url']);
//$res = VideoManager::XiaoKaXiu()->start("https://mobile.xiaokaxiu.com/video?id=6522164847705071616");
//var_dump($res['video_url']);
//$res = VideoManager::Bili()->setUrl("https://b23.tv/3uPg39")->setQuality(BiliQualityType::LEVEL_2)->execution();
//$res = VideoManager::Bili()->start("https://b23.tv/3uPg39");
//var_dump($res['video_url']);
//$res = VideoManager::WeiBo()->start("http://weibo.com/tv/v/EFSNuE1Ky");
//var_dump($res['video_url']);
//$res = VideoManager::WeiBo()->newVideoStart("https://video.weibo.com/show?fid=1034:4513329142497297");
//var_dump($res['video_url']);
//$res = VideoManager::MiaoPai()->start("http://www.miaopai.com/show/SSDlgDXVOwOqIEFkuzmTtap-~2T-HUwI.htm");
//var_dump($res['video_url']);
//$res = VideoManager::MiaoPai()->start("http://n.miaopai.com/media/3nN8LEK6wFsEOuyvNKPxoqIWC0eew5G~.htm");
//var_dump($res['video_url']);
//$res = VideoManager::QQVideo()->start("http://m.v.qq.com/play/play.html?vid=q3115syabis&url_from=share&second_share=0&share_from=copy&pgid=page_smallvideo_immersive&ztid=120136&mod_id=sp_immersive_poster");
//var_dump($res['video_url']);