mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-02 15:14:27 +02:00
reddit: use correct id in filename & add sub name
This commit is contained in:
parent
abd9f2eb87
commit
e93ad8a9c5
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user