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
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)
| 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
|