Skip to main content

Sosial Media Downloader API for Python
Homepage • Releases • News

Sosmed

Multiple Site Provider and Asynchronous API in Python

from sosmed import Sosmed


sosmed = Sosmed(
    apiToken="YOUR_API_TOKEN",
    secret="YOUR_SECRET_TOKEN"
)

async def instagramDl():
    url = 'https://www.instagram.com/reel/DA2qTBspJPh/?igsh=ZjM4M2ZydWFjYzRt';
    res = await sosmed.instagram(url=url)
    path = await res.download()
    print(res.videoUrl)
    print(path)

async def tiktokDl():
    url = 'https://vt.tiktok.com/ZS2oQvs1s/';
    res = await sosmed.tiktok(url=url)
    path = await res.download()
    print(res.parse())
    print(path)

async def twitterDl():
    url = 'https://x.com/HumansNoContext/status/1848152497476493332?t=wncNBDv7iRegV_lXgvcl3Q&s=19';
    res = await sosmed.twitter(url=url)
    path = await res.download()
    print(res.mediaExtended[0].parse())
    print(path)

Installation

pip3 install sosmed

License

MIT License

Metadata

Release files for sosmed 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sosmed 1.0.3
File Size Uploaded
sosmed-1.0.3.tar.gz 11.8 kB Details

Release files / sosmed-1.0.3.tar.gz

Download URL sosmed-1.0.3.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5535dc73bdec379f9acfe716a2ba3b8ea5b82e2719b65f554637408ac6a10be
BLAKE2b-256 checksum
How to use checksums
8ecfdb05359fdd50fcc9dc50bd1d6feddd648f254f025dd627958cb726099a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page