Downloader Sosial Media - Multiple Platform and Asynchronous API in Python
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sosmed-1.0.3.tar.gz
(11.8 kB
view details)
File details
Details for the file sosmed-1.0.3.tar.gz
.
File metadata
- Download URL: sosmed-1.0.3.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5535dc73bdec379f9acfe716a2ba3b8ea5b82e2719b65f554637408ac6a10be |
|
MD5 | 47ca17e253413e46069a0b1d0a66c693 |
|
BLAKE2b-256 | 8ecfdb05359fdd50fcc9dc50bd1d6feddd648f254f025dd627958cb726099a6f |