2.0.2 • Published 4 months ago
instagram-url-direct v2.0.2
Works with:
It currently works with general Instagram posts, which can contain multiple images/videos or a single one.
Stories not supported.
Instalation :
> npm i instagram-url-direct@latest
Example Module
import {instagramGetUrl} from "instagram-url-direct"
let data = await instagramGetUrl("https://www.instagram.com/tv/CdmYaq3LAYo/")
console.log(data)
Example CommonJS
const {instagramGetUrl} = require("instagram-url-direct")
let data = await instagramGetUrl("https://www.instagram.com/tv/CdmYaq3LAYo/")
console.log(data)
Output Example
Single result
{
results_number : 1,
post_info:{
owner_username: "username",
owner_fullname: "fullname",
is_verified: false,
is_private: false,
likes: 6,
is_ad: false
}
url_list : [
'https://scontent.cdninstagram.com....'
],
media_details:[
{
type: "video",
dimensions: {height: "1080", width: "1920"},
video_view_count: 1000,
url: "https://scontent.cdninstagram.com...",
thumbnail: 'https://scontent.cdninstagram.com...'
}
]
}
Multi results
{
results_number : 3,
post_info:{
owner_username: "username",
owner_fullname: "fullname",
is_verified: false,
is_private: false,
likes: 10,
is_ad: false
}
url_list : [
'https://scontent.cdninstagram.com...',
'https://scontent.cdninstagram.com...',
'https://scontent.cdninstagram.com...',
],
media_details:[
{
type: "video",
dimensions: {height: "640", width: "640"},
video_view_count: 100,
url: "https://scontent.cdninstagram.com...",
thumbnail: 'https://scontent.cdninstagram.com...'
},
{
type: "video",
dimensions: {height: "640", width: "640"},
video_view_count: 100,
url: "https://scontent.cdninstagram.com...",
thumbnail: 'https://scontent.cdninstagram.com...'
},
{
type: "image",
dimensions: {height: "640", width: "640"},
url: "https://scontent.cdninstagram.com...",
}
]
}
1.2.0
4 months ago
1.1.1
8 months ago
1.1.0
8 months ago
1.2.2
4 months ago
1.1.3
5 months ago
1.2.1
4 months ago
1.1.2
6 months ago
2.0.2
4 months ago
1.0.22
8 months ago
1.0.25
8 months ago
2.0.1
4 months ago
1.0.24
8 months ago
2.0.0
4 months ago
1.0.23
8 months ago
1.0.21
8 months ago
1.0.19
10 months ago
1.0.18
10 months ago
1.0.17
10 months ago
1.0.20
10 months ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.12
3 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.0
4 years ago