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

sosmed

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sosmed

Downloader Sosial Media - Multiple Platform and Asynchronous API in Python

  • 1.0.3
  • Source
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


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