twitter: downloading specific video if given index

This commit is contained in:
dumbmoron
2024-01-05 12:21:59 +00:00
parent 7b41dfef9e
commit ed2c63f9a4
3 changed files with 9 additions and 4 deletions

View File

@@ -36,7 +36,8 @@ export default async function(host, patternMatch, url, lang, obj) {
switch (host) {
case "twitter":
r = await twitter({
id: patternMatch["id"]
id: patternMatch.id,
index: patternMatch.index - 1
});
break;
case "vk":