From 209356b8ade1920b50d1d3a1a5e121c6623d167b Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 11 Nov 2022 23:47:49 +0100 Subject: Update --- api/computer.php | 42 ++++++++++++++++++++++++++++++++++++++++++ api/docs.php | 6 ++---- api/save.php | 2 +- api/test1.php | 8 ++++++++ api/video.php | 7 +------ 5 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 api/computer.php create mode 100644 api/test1.php (limited to 'api') diff --git a/api/computer.php b/api/computer.php new file mode 100644 index 0000000..a4ead80 --- /dev/null +++ b/api/computer.php @@ -0,0 +1,42 @@ + $data["fulltitle"], "author" => $data["channel"], - "count" => [ - "channel" => $data["channel_follower_count"], - "likes" => $data["like_count"], - "views" => $data["view_count"] - ], "duration" => $data["duration"], "stream" => $selected, "url" => $stream["url"], - "duration_pretty" => $stream["duration_string"], + "duration_pretty" => $data["duration_string"], "poster" => $data["thumbnail"], ], JSON_PRETTY_PRINT)); } \ No newline at end of file -- cgit