<p align="center">
<b>Sosial Media Downloader API for Python</b>
<br>
<a href="https://github.com/AyiinXd/sosmed">
Homepage
</a>
•
<a href="https://github.com/AyiinXd/sosmed/releases">
Releases
</a>
•
<a href="https://t.me/AyiinChannel">
News
</a>
</p>
## Sosmed
> Multiple Site Provider and Asynchronous API in Python
``` 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
``` bash
pip3 install sosmed
```
### License
[MIT License](https://github.com/AyiinXd/pyPorn/blob/master/LICENSE)
Raw data
{
"_id": null,
"home_page": "https://github.com/AyiinXd/sosmed",
"name": "sosmed",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "api, scrapper, downloader, instagram, tiktok, twitter, youtube",
"author": "AyiinXd",
"author_email": "ayiin@gotgel.org",
"download_url": "https://files.pythonhosted.org/packages/a9/27/59c2f0c6e063007c33360461333b0828cfa6d7173170bbc180d6b30ab34d/sosmed-1.0.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <b>Sosial Media Downloader API for Python</b>\n <br>\n <a href=\"https://github.com/AyiinXd/sosmed\">\n Homepage\n </a>\n \u2022\n <a href=\"https://github.com/AyiinXd/sosmed/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://t.me/AyiinChannel\">\n News\n </a>\n</p>\n\n## Sosmed\n\n> Multiple Site Provider and Asynchronous API in Python\n\n``` python\nfrom sosmed import Sosmed\n\n\nsosmed = Sosmed(\n apiToken=\"YOUR_API_TOKEN\",\n secret=\"YOUR_SECRET_TOKEN\"\n)\n\nasync def instagramDl():\n url = 'https://www.instagram.com/reel/DA2qTBspJPh/?igsh=ZjM4M2ZydWFjYzRt';\n res = await sosmed.instagram(url=url)\n path = await res.download()\n print(res.videoUrl)\n print(path)\n\nasync def tiktokDl():\n url = 'https://vt.tiktok.com/ZS2oQvs1s/';\n res = await sosmed.tiktok(url=url)\n path = await res.download()\n print(res.parse())\n print(path)\n\nasync def twitterDl():\n url = 'https://x.com/HumansNoContext/status/1848152497476493332?t=wncNBDv7iRegV_lXgvcl3Q&s=19';\n res = await sosmed.twitter(url=url)\n path = await res.download()\n print(res.mediaExtended[0].parse())\n print(path)\n\n```\n\n\n### Installation\n\n``` bash\npip3 install sosmed\n```\n\n\n### License\n\n[MIT License](https://github.com/AyiinXd/pyPorn/blob/master/LICENSE)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Downloader Sosial Media - Multiple Platform and Asynchronous API in Python",
"version": "1.0.0",
"project_urls": {
"Community": "https://t.me/AyiinProjects",
"Download": "https://github.com/AyiinXd/sosmed/releases/latest",
"Homepage": "https://github.com/AyiinXd/sosmed",
"Source": "https://github.com/AyiinXd/sosmed",
"Tracker": "https://github.com/AyiinXd/sosmed/issues"
},
"split_keywords": [
"api",
" scrapper",
" downloader",
" instagram",
" tiktok",
" twitter",
" youtube"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a92759c2f0c6e063007c33360461333b0828cfa6d7173170bbc180d6b30ab34d",
"md5": "a4cc99e3651bd96410d1ae66f0058eb0",
"sha256": "960741cec9dd0ae10a311676a0d75fa2b7cbbfdb5b537d3022e3c21f73e0585e"
},
"downloads": -1,
"filename": "sosmed-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "a4cc99e3651bd96410d1ae66f0058eb0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 10519,
"upload_time": "2024-10-21T16:07:06",
"upload_time_iso_8601": "2024-10-21T16:07:06.622774Z",
"url": "https://files.pythonhosted.org/packages/a9/27/59c2f0c6e063007c33360461333b0828cfa6d7173170bbc180d6b30ab34d/sosmed-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-21 16:07:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AyiinXd",
"github_project": "sosmed",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sosmed"
}