From 42bfdd834f0979760b3a679c925a8b85200739d4 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Sun, 17 May 2026 22:13:43 -0400 Subject: [PATCH] Fixed archive.org backend pulling multiple files when queueing a link to an individual file. --- src/utils/media/yanker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/media/yanker.js b/src/utils/media/yanker.js index 2dff869..cb6697b 100644 --- a/src/utils/media/yanker.js +++ b/src/utils/media/yanker.js @@ -131,7 +131,7 @@ module.exports.getMediaType = async function(dirtyURL){ } //If we have link to a resource from archive.org - if(match = url.match(/archive\.org\/(?:details|download)\/([a-zA-Z0-9\/._-\s\%]+)/)){ + if(match = url.match(/archive\.org\/(?:details|download)\/(.+)/)){ //return internet archive upload id and filepath return { type: "ia",