Social Download All in One

Extract all data from a url

Abdullah Fawad

Last Update 2 years ago

Description

The Social Media Media Extractor plugin enables users to extract all media from social media posts by simply providing the URL of the post. This plugin supports popular platforms such as TikTok, Instagram, and YouTube. It automatically fetches metadata and downloadable links for the media, including videos (with and without watermarks), audio files, thumbnails, and other details.

How It Works

  1. Input:
    The user provides a URL from a supported platform.
    Example:
    url: "https://www.tiktok.com/@yeuphimzz/video/7237370304337628442"

  2. Output:
    The plugin returns a structured response containing the following:

    • Source: The platform from which the content is fetched.
      Example: source: "tiktok"
    • Author: The username of the content creator.
      Example: author: "yeuphimzz"
    • Title: The title or description of the post.
      Example: title: "Shin godzilla #movie #yeuphimzz"
    • Thumbnail: URL of the thumbnail image.
      Example:
      thumbnail: "https://p16-sign-useast2a.tiktokcdn.com/tos-useast2a-p-0037-aiso/..."
    • Duration: The duration of the media in milliseconds.
      Example: duration: 88447
    • Medias: A list of all downloadable media files, including:
      • URL: Direct link to the media file.
      • Quality: Quality specification (e.g., HD, with/without watermark).
      • Extension: File type (e.g., mp4, mp3).
      • Type: Media type (e.g., video, audio).
  3. Error Handling:
    If the provided URL is invalid or unsupported, the response includes error: true.

Example Response
For the input URL https://www.tiktok.com/@yeuphimzz/video/7237370304337628442, the plugin returns:

jsonCopy code{ "url": "https://www.tiktok.com/@yeuphimzz/video/7237370304337628442", "source": "tiktok", "author": "yeuphimzz", "title": "Shin godzilla #movie #yeuphimzz", "thumbnail": "https://p16-sign-useast2a.tiktokcdn.com/tos-useast2a-p-0037-aiso/...", "duration": 88447, "medias": [ { "url": "https://v16e.tiktokcdn.com/aa7ce0bda51f21826cf3e9c925bf2b53/...", "quality": "hd_no_watermark", "extension": "mp4", "type": "video" }, { "url": "https://v16e.tiktokcdn.com/c16c6a28791b52ffd59959d3c3f01b0b/...", "quality": "no_watermark", "extension": "mp4", "type": "video" }, { "url": "https://v16e.tiktokcdn.com/72232c7801bac8b4f47d8c1f24932460/...", "quality": "watermark", "extension": "mp4", "type": "video" }, { "url": "https://sf16-ies-music.tiktokcdn.com/obj/ies-music-aiso/...", "duration": 88, "quality": "audio", "extension": "mp3", "type": "audio" } ], "type": "multiple", "error": false }

Usage Scenarios

  • Download TikTok/Instagram videos without watermarks.
  • Extract audio tracks from social media videos.
  • Fetch thumbnails for post previews.
  • Access metadata for content analysis or reposting.

Supported Platforms

  • TikTok
  • Instagram
  • YouTube
  • (Others as updated)

Error Example
For an unsupported or invalid URL, the response includes:

jsonCopy code{ "error": true, "message": "Unsupported or invalid URL" }

Note: The media URLs returned are temporary and may expire after a certain period. Download the content promptly after retrieval.

Was this article helpful?

0 out of 0 liked this article