mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 11:52:12 +01:00
instagram: fix single video downloading
This commit is contained in:
parent
ea9d83c79c
commit
aaa08830b4
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ function extractOldPost(data, id) {
|
||||||
if (picker.length) return { picker }
|
if (picker.length) return { picker }
|
||||||
} else if (data?.gql_data?.shortcode_media?.video_url) {
|
} else if (data?.gql_data?.shortcode_media?.video_url) {
|
||||||
return {
|
return {
|
||||||
urls: data.shortcode_media.video_url,
|
urls: data.gql_data.shortcode_media.video_url,
|
||||||
filename: `instagram_${id}.mp4`,
|
filename: `instagram_${id}.mp4`,
|
||||||
audioFilename: `instagram_${id}_audio`
|
audioFilename: `instagram_${id}_audio`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue