commit 094430c9ee179dbf705b04fe12474f58f339f1e5 parent 17502e594a04fe02a6b5b2d03d3ceadd143c3f58 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 10 Feb 2024 20:47:06 +0100 Add further usage instructions Diffstat:
M | README.md | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -4,9 +4,27 @@ Transforms a youtube channel into a podcast RSS feed to insert into a podcatcher ## Usage: +Currently, there are two endpoints for the yt2rss script/service: + * index.php?channel=UCt_Y3j8CpXx366et1RaHACA * index.php?video=TV8tEq56vHI +Assuming you host this service under the URL "https://yt2rss.example.com", insert following RSS link into your podcatcher: + +``` +https://yt2rss.example.com/?channel=UCt_Y3j8CpXx366et1RaHACA +``` + +Done. There is nothing more you have to do. + +Individual video entries can be fetched via: + +``` +https://yt2rss.example.com/?video=TV8tEq56vHI +``` + +If the video has not been fetched before, this will take a few seconds, as the server needs to download and convert the video to an `.opus` audio file before it can serve it. + ## Requirements: - [getID3](https://github.com/JamesHeinrich/getID3)