Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snapsave-media-downloader

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapsave-media-downloader

Download Instagram, Facebook and TikTok media using snapsave.app downloader

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Snapsave Media Downloader

Download Instagram, Facebook and TikTok media using snapsave.app downloader

Install dependency

# Using npm
npm install snapsave-media-downloader

# Using pnpm
pnpm add snapsave-media-downloader

Example:

import { snapsave } from "snapsave-media-downloader";

const download = await snapsave("https://www.instagram.com/p/C51YHfWJwHK/");

console.log(download);

Output example (Instagram):

{
  "success": true,
  "data": {
    "thumbnail": "https://d.rapidcdn.app/d?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL3Njb250ZW50LmNkbmluc3RhZ3JhbS5jb20vdi90NTEuMjg4NS0xNS8zNTQ4MDE3ODhfMTAyMzg0ODAxMjExNzM5Nl82MjIwOTc3ODQ3NzgxNjEwMjcwX24uanBnP3N0cD1kc3QtanBnX2UxNSZfbmNfaHQ9c2NvbnRlbnQuY2RuaW5zdGFncmFtLmNvbSZfbmNfY2F0PTEwOCZfbmNfb2hjPWRzd2tMNURiRUNZUTdrTnZnRjhNbDlTJl9uY19naWQ9NDE4NGQxNzVlOWY5NDkzY2IzYjI2NDIwNzYxOGNiNWYmZWRtPUFQczE3Q1VCQUFBQSZjY2I9Ny01Jm9oPTAwX0FZQTNFaVpiUzFBZ0tyZXc1UHdlM0dmVi0xb0pLSFdIT3luZFU5VzJtUDBpWncmb2U9NjczQjU2QzgmX25jX3NpZD0xMGQxM2IiLCJmaWxlbmFtZSI6IlNuYXBzYXZlLmFwcF8zNTQ4MDE3ODhfMTAyMzg0ODAxMjExNzM5Nl82MjIwOTc3ODQ3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U9NjczNzVFRUUmX25jX3NpZD0xMGQxM2IiLCJmaWxlbmFtZSI6IlNuYXBzYXZlLmFwcF9GNTQ2MjA4NkRDNTRERDEwRTZFMEFDM0M5OTAyQTJBM192aWRlb19kYXNoaW5pdC5tcDQifQ.xeXnprza8ExA4vbaieWK4fV-pZXxkTjy1jzIoo5p6ms&dl=1"
      }
    ]
  }
}

Output example (Facebook):

{
  "success": true,
  "data": {
    "thumbnail": "https://scontent-iad3-2.xx.fbcdn.net/v/t51.29350-10/466628901_1297725364716204_4835926798887889488_n.jpg?stp=dst-jpg_s960x960&_nc_cat=103&ccb=1-7&_nc_sid=cb5bf7&_nc_ohc=p2TNk6s12wAQ7kNvgHAknG-&_nc_zt=23&_nc_ht=scontent-iad3-2.xx&_nc_gid=Aj_mZpSR4G44Ek7H6D5dLVD&oh=00_AYDUwINaJj2LowBXRfBjAotl6gbheKe8G5AScHLk4ztgLQ&oe=673B5067",
    "description": "...",
    "media": [
      {
        "resolution": "720p (HD)",
        "shouldRender": false,
        "url": "https://d.rapidcdn.app/d?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL3ZpZGVvLWlhZDMtMi54eC5mYmNkbi5uZXQvbzEvdi90Mi9mMi9tNjkvQVFPVUZuTGQtWFA5M1B2dzA0UmY1d3FQMzJBTWk3dkxBR05JVGhrTG1lN1NoeGdGOV90d2kzb2NIY0lfaXhTX0FSUFIwQnkxZjdEaUhmMUtCenpSRndXTS5tcDQ_c3RyZXh0PTEmX25jX2NhdD0xMDMmX25jX3NpZD04YmY4ZmUmX25jX2h0PXZpZGVvLWlhZDMtMi54eC5mYmNkbi5uZXQmX25jX29oYz1KNFpMaWFMR1hVNFE3a052Z0g2OVhZSyZlZmc9ZXlKMlpXNWpiMlJsWDNSaFp5STZJbmh3ZGw5d2NtOW5jbVZ6YzJsMlpTNUdRVU5GUWs5UFN5NHVRek11TnpJd0xuQnliMmR5WlhOemFYWmxYMmd5TmpRdFltRnphV010WjJWdU1sODNNakJ3SWl3aWVIQjJYMkZ6YzJWMFgybGtJam80TmpnM05EUXlORFV5TkRjM01ETXNJblZ5YkdkbGJsOXpiM1Z5WTJVaU9pSjNkM2NpZlElM0QlM0QmY2NiPTktNCZfbmNfenQ9Mjgmb2g9MDBfQVlEMjVoaE0yTktmYlNYd3ZERUFlaUVJLXpnT0paaU9NQk1EeG4tanJGWl9SZyZvZT02NzNCNzU4MiZkbD0xIiwiZmlsZW5hbWUiOiJTbmFwc2F2ZS5hcHBfLVhQOTNQdncwNFJmNXdxUDMyQU1pN3ZMQUdOSVRoa0xtZTdTaHhnRjlfdHdpM29jSGNJX2l4U19BUlBSMEJ5MWY3RGlIZjFLQnp6UkZ3V00ubXA0In0.D7PvIemQbSJHpANWhaMV1X_JDgoo1ylKCzLIXg49vtU&dl=1"
      },
      {
        "resolution": "360p (SD)",
        "shouldRender": false,
        "url": "https://d.rapidcdn.app/d?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL3ZpZGVvLWlhZDMtMS54eC5mYmNkbi5uZXQvbzEvdi90Mi9mMi9tNjkvQVFQWXA1elM0c2ZJR3Q1MmhJVmVxRlY4ODdFdjdCSE9Zd2ZVWUNKekRHUGxjLTVkbGVrVWowamUydTk2cGVLeHRhenpCZDZfX0R0WnNjWDBld2Flbm9VUy5tcDQ_c3RyZXh0PTEmX25jX2NhdD0xMDcmX25jX3NpZD04YmY4ZmUmX25jX2h0PXZpZGVvLWlhZDMtMS54eC5mYmNkbi5uZXQmX25jX29oYz1uRk9WU2VNeWItUVE3a052Z0dYYmRqbyZlZmc9ZXlKMlpXNWpiMlJsWDNSaFp5STZJbmh3ZGw5d2NtOW5jbVZ6YzJsMlpTNUdRVU5GUWs5UFN5NHVRek11TXpZd0xuQnliMmR5WlhOemFYWmxYMmd5TmpRdFltRnphV010WjJWdU1sOHpOakJ3SWl3aWVIQjJYMkZ6YzJWMFgybGtJam80TmpnM05EUXlORFV5TkRjM01ETXNJblZ5YkdkbGJsOXpiM1Z5WTJVaU9pSjNkM2NpZlElM0QlM0QmY2NiPTktNCZfbmNfenQ9Mjgmb2g9MDBfQVlDeUFkbmhQSW9GalhLWHVuUzU2OEc4UmJMM0g2ZXNwYkVORk5XV2hpclpsQSZvZT02NzNCNUREMiZkbD0xIiwiZmlsZW5hbWUiOiJTbmFwc2F2ZS5hcHBfLTVkbGVrVWowamUydTk2cGVLeHRhenpCZDZfX0R0WnNjWDBld2Flbm9VUy5tcDQifQ.sX8g-My0RiHbWAUBxuJebONniHtcFMBg_aTd-M6GKaQ&dl=1"
      },
      {
        "resolution": "1080p",
        "shouldRender": true,
        "url": "https://snapsave.app/render.php?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2aWRlb191cmwiOiJodHRwczovL3ZpZGVvLWNkZzQtMi54eC5mYmNkbi5uZXQvbzEvdi90Mi9mMi9tNjkvQVFNeU5mMXpnanhBODdwcXJaUzdGTVRFZmItdUp3VklKRHdrZG1MbUY4NGxjWUlZLTc4empYNVRwcnczRnVza3E2UE1JZ01kZzVOa2hDZklrbExZb0dMSC5tcDQ_c3RyZXh0PTEmX25jX2NhdD0xJl9uY19zaWQ9OWNhMDUyJl9uY19odD12aWRlby1jZGc0LTIueHguZmJjZG4ubmV0Jl9uY19vaGM9RUN4empQUkF0NThRN2tOdmdGMlBsSkEmZWZnPWV5SjJaVzVqYjJSbFgzUmhaeUk2SW1SaGMyaGZjakpoZGpFdGNqRm5aVzR5ZG5BNVgzRTVNQ0lzSW5acFpHVnZYMmxrSWpveE5qVXdNREUzTURVeU5UTXhNemd6TENKamJHbGxiblJmYm1GdFpTSTZJblZ1YTI1dmQyNGlMQ0p2YVd4ZmRYSnNaMlZ1WDJGd2NGOXBaQ0k2TWpVMk1qZ3hNRFF3TlRVNExDSjFjbXhuWlc1ZmMyOTFjbU5sSWpvaWQzZDNJbjAzRCZjY2I9OS00Jl9uY196dD0yOCZvaD0wMF9BWUI2R0ZDUzdWOTEzTGN1cFRQcmdHZzR5VUg0RVE1cGlJc2ZNN2s5YlZNTmNRJm9lPTY3M0I1RTlFIiwiYXVkaW9fdXJsIjoiaHR0cHM6Ly92aWRlby1jZGc0LTEueHguZmJjZG4ubmV0L28xL3YvdDIvZjIvbTY5L0FRTmVrTjlJbUFucEg5YzYzakdlcE02cFBRQjVLb2laTmJaLURCNnhSVEF0OFpReWQzbmdwNFhKM2JnbHdMSERUSjl6TjNCWXRmNHV0ajFyelFsWjRhdzMubXA0P3N0cmV4dD0xJl9uY19jYXQ9MTA1Jl9uY19zaWQ9OWNhMDUyJl9uY19odD12aWRlby1jZGc0LTEueHguZmJjZG4ubmV0Jl9uY19vaGM9WkdvZXhiQTdnU0FRN2tOdmdHYVdtckQmZWZnPWV5SjJaVzVqYjJSbFgzUmhaeUk2SW1SaGMyaGZiRzVmYUdWaFlXTmZkbUp5TTE5aGRXUnBieUlzSW5acFpHVnZYMmxrSWpveE5qVXdNREUzTURVeU5UTXhNemd6TENKamJHbGxiblJmYm1GdFpTSTZJblZ1YTI1dmQyNGlMQ0p2YVd4ZmRYSnNaMlZ1WDJGd2NGOXBaQ0k2TWpVMk1qZ3hNRFF3TlRVNExDSjFjbXhuWlc1ZmMyOTFjbU5sSWpvaWQzZDNJbjAlM0QmY2NiPTktNCZfbmNfenQ9Mjgmb2g9MDBfQVlCTzJSVVJRS2tkckZmVTRSUmRhNWlQT3NHek9Ib0tYM1FEdXBFa3hJTUt6USZvZT02NzNCNEQ2NCIsImlkIjoiMTY1MDAxNzA1MjUzMTM4MyIsImZpbGVuYW1lIjoiU25hcFNhdmVfQXBwXzE2NTAwMTcwNTI1MzEzODNfMTA4MHAubXA0In0.S-mACnWUv6qBg7NYej2iOV-XgINJ-npNE3tZk_yAsrA"
      }
    ]
  }
}

Output example (TikTok):

{
  "success": true,
  "data": {
    "thumbnail": "https://p16-useast2a.tiktokcdn.com/tos-useast2a-avt-0068-euttp/240d7e6a213e5cc0ef7dc69277408efc~tplv-tiktokx-cropcenter-q:720:720:q75.jpeg",
    "description": "Does anyone else’s cat love doing this️ #RoadTo16Million #Pubity(Andrew Kuzmic via ViralHog)",
    "media": [
      {
        "url": "httpss://snapxcdn.com/v2/?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL3YzOS11cy50aWt0b2tjZG4uY29tLzBmMmU2M2EyMDAyMjU5MDBmY2VmYzZlYzA0NmZmZDAwLzY3MzVlNzhlL3ZpZGVvL3Rvcy91c2Vhc3QyYS90b3MtdXNlYXN0MmEtdmUtMDA2OGMwMDEtZXV0dHAvb2NHT2VJOUFUUmRhdkxmSXBlZGU1bWdZeWlMUUVqZ0lwT2dYQUcvP2E9MTIzMyZidGk9YkdSdVpIeHZNWEl4Y201M1ptMWNZRjllYldGemFIRm1PZyUzRCUzRCZjaD0wJmNyPTAmZHI9MCZlcj0wJmNkPTAlN0MwJTdDMCU3QzAmY3Y9MSZicj0xODQ4JmJ0PTkyNCZjcz0wJmRzPTYmZnQ9WHNGYl9xVDBtSXNQRDEyOGtJQkozd1VkWi42U0VlRn5PNSZtaW1lX3R5cGU9dmlkZW9fbXA0JnFzPTAmcmM9T1RRMVpXazVPRHRrWmpvM05EdHBOVUJwTTJRNU0zazVjbmRsZGpNelpqY3pNMEJqTm1KZkxTNDJYell4WVdFeU0xOWlZU05lWlhFMk1tUnphRzVnTFMxa01XTnpjdyUzRCUzRCZ2dnBsPTEmbD0yMDI0MTExNDA2MDUwN0MyNDU1OTU4MDRCMjdGMTE1NDBDJmJ0YWc9ZTAwMGJkMDAwIiwiZmlsZW5hbWUiOiJTbmFwVGlrLmFwcF83NDM2Nzc0MTAzMDE4Njg3Nzc3Lm1wNCIsImV4cCI6MTczMTU2NzkwOH0.mFLlZt9cm9auuB2a5zmHBxp8e8mKIZ46XG6GSiDleRs&dl=1"
      }
    ]
  }
}

Keywords

FAQs

Package last updated on 14 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc