Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- contoh script untuk memparsing hasil json dari https://api.zonkploit.com/yt/fetch-videos/
- nanti kamu kembangin sendiri ya! :)
- https://zonkploit.com || https://www.bac0ders.me
- */
- $id = "UCfMcMOvgflhwW3FQtLosn7Q"; // id channelnya
- $json = json_decode(file_get_contents("https://api.zonkploit.com/yt/fetch-videos/".$id), TRUE);
- foreach ($json['result'] as $urls) {
- echo $urls['url']."\n";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement