mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-13 03:39:59 +00: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 }
|
||||
} else if (data?.gql_data?.shortcode_media?.video_url) {
|
||||
return {
|
||||
urls: data.shortcode_media.video_url,
|
||||
urls: data.gql_data.shortcode_media.video_url,
|
||||
filename: `instagram_${id}.mp4`,
|
||||
audioFilename: `instagram_${id}_audio`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue