Fixed archive.org backend pulling multiple files when queueing a link to an individual file.
This commit is contained in:
parent
fb226a306c
commit
42bfdd834f
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue