From 74a9796844e194f87cdf967fbb6bbbd645fb6624 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 16 Mar 2022 11:05:53 +0100 Subject: [PATCH] Add yt-dlp --- modules/YtDlp.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/YtDlp.php diff --git a/modules/YtDlp.php b/modules/YtDlp.php new file mode 100644 index 0000000..244888b --- /dev/null +++ b/modules/YtDlp.php @@ -0,0 +1,14 @@ +fetch_json('https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest')) + return $this->parse_json('tag_name'); + return false; + } +} + +?>