From 4a13c36da50f6b3171d817edebefe96ba85dc666 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Mon, 28 Oct 2024 02:51:00 +0100 Subject: feature: Archive videos using yt-dlp. Fixes #215 (#525) * Allow downloading more content from a webpage and index it #215 Added a worker that allows downloading videos depending on the environment variables refactored the code a bit added new video asset updated documentation * Some tweaks * Drop the dependency on the yt-dlp wrapper * Update openapi specs * Dont log an error when the url is not supported * Better handle supported websites that dont download anything --------- Co-authored-by: Mohamed Bassem --- packages/open-api/hoarder-openapi-spec.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/open-api') diff --git a/packages/open-api/hoarder-openapi-spec.json b/packages/open-api/hoarder-openapi-spec.json index a93a0b9c..eac98326 100644 --- a/packages/open-api/hoarder-openapi-spec.json +++ b/packages/open-api/hoarder-openapi-spec.json @@ -140,6 +140,10 @@ "type": "string", "nullable": true }, + "videoAssetId": { + "type": "string", + "nullable": true + }, "favicon": { "type": "string", "nullable": true, @@ -245,6 +249,7 @@ "screenshot", "bannerImage", "fullPageArchive", + "video", "bookmarkAsset", "unknown" ] @@ -488,6 +493,10 @@ "type": "string", "nullable": true }, + "videoAssetId": { + "type": "string", + "nullable": true + }, "favicon": { "type": "string", "nullable": true, -- cgit v1.2.3-70-g09d2