instagram: fix single video downloading

This commit is contained in:
wukko 2024-04-20 21:09:39 +06:00
parent ea9d83c79c
commit aaa08830b4
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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`
}