Skip to content

best way to save what you love

instagram: fix single video downloading

wukkoaaa08830b42c
diff --git a/src/modules/processing/services/instagram.js b/src/modules/processing/services/instagram.js
index afcd6296..c8f190a4 100644
--- a/src/modules/processing/services/instagram.js
+++ b/src/modules/processing/services/instagram.js
@@ -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`
}