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.2.tar.gz
(11.6 kB
view details)
File details
Details for the file sosmed-1.0.2.tar.gz
.
File metadata
- Download URL: sosmed-1.0.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 940230af5ea91c78f8894c4605f109bba85a6c4daf8a247f0c691b14652efb0a |
|
MD5 | 80821eccb11715850c75b797d5d08a18 |
|
BLAKE2b-256 | f78ac0f3cc40f6683243f48a63afd88c1b87e7b34bc8ae60473889ee4f42c200 |