JSPM

  • Created
  • Published
  • Downloads 8809
  • Score
    100M100P100Q137497F
  • License MIT

Get direct url to download from Instagram media links

Package Exports

  • instagram-url-direct

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (instagram-url-direct) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Instalation :

> npm i --save instagram-url-direct

Example

const instagramGetUrl = require("instagram-url-direct")
let links = await instagramGetUrl("https://www.instagram.com/p/CL5QQPOJFl_/")
console.log(links)

Output Exemple

{
    results_number : 3,
    url_list : [
        'https://scontent-lhr8-1.cdninstagram.com/v/t51.2885-15/e35/s1080x1080/118774947_241673823S2_22161510709798728843_n.jpg?_nc_ht=scontent-lhr8-1.cdninstagram.com&_nc_cat=104&_nc_ohc=1697Ifcdsasdasd2312321=3213123213',
        'https://scontent-lhr8-1.cdninstagram.com/v/t51.2885-15/e35/s1080x1080/118774947_241673823S2_22161510709798728843_n.jpg?_nc_ht=scontent-lhr8-1.cdninstagram.com&_nc_cat=104&_nc_ohc=1697Ifcdsasdasd2312321=3213123213',
        'https://scontent-lhr8-1.cdninstagram.com/v/t51.2885-15/e35/s1080x1080/118774947_241673823S2_22161510709798728843_n.jpg?_nc_ht=scontent-lhr8-1.cdninstagram.com&_nc_cat=104&_nc_ohc=1697Ifcdsasdasd2312321=3213123213',
    ]
}