reddit: use correct id in filename & add sub name

This commit is contained in:
wukko 2024-05-28 09:00:09 +06:00
parent abd9f2eb87
commit e93ad8a9c5
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -107,7 +107,7 @@ export default async function(obj) {
}).catch(() => {})
}
let id = video.split('/')[3];
let id = `${String(obj.sub).toLowerCase()}_${obj.id}`;
if (!audio) return {
typeId: "redirect",