Slight URL update on API
This commit is contained in:
parent
a98d3fb153
commit
9ed643fcf4
@ -131,7 +131,7 @@ function getContent($url, $geturl = false)
|
||||
$thumb = explode("\"",explode('og:image" content="', $resp)[1])[0];
|
||||
$username = explode("/",explode("@",explode("\"",explode("\"canonicalHref\":\"", $resp)[1])[0])[1])[0];
|
||||
$videoKey = getKey($contentURL);
|
||||
$cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey";
|
||||
$cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey&line=0&ratio=default&media_type=4&vr_type=0";
|
||||
$cleanVideo = getContent($cleanVideo, true);
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user