<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/8e/cf/db05359fdd50fcc9dc50bd1d6feddd648f254f025dd627958cb726099a6f/sosmed-1.0.3.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n <b>Sosial Media Downloader API for Python</b>\r\n <br>\r\n <a href=\"https://github.com/AyiinXd/sosmed\">\r\n Homepage\r\n </a>\r\n \u2022\r\n <a href=\"https://github.com/AyiinXd/sosmed/releases\">\r\n Releases\r\n </a>\r\n \u2022\r\n <a href=\"https://t.me/AyiinChannel\">\r\n News\r\n </a>\r\n</p>\r\n\r\n## Sosmed\r\n\r\n> Multiple Site Provider and Asynchronous API in Python\r\n\r\n``` python\r\nfrom sosmed import Sosmed\r\n\r\n\r\nsosmed = Sosmed(\r\n apiToken=\"YOUR_API_TOKEN\",\r\n secret=\"YOUR_SECRET_TOKEN\"\r\n)\r\n\r\nasync def instagramDl():\r\n url = 'https://www.instagram.com/reel/DA2qTBspJPh/?igsh=ZjM4M2ZydWFjYzRt';\r\n res = await sosmed.instagram(url=url)\r\n path = await res.download()\r\n print(res.videoUrl)\r\n print(path)\r\n\r\nasync def tiktokDl():\r\n url = 'https://vt.tiktok.com/ZS2oQvs1s/';\r\n res = await sosmed.tiktok(url=url)\r\n path = await res.download()\r\n print(res.parse())\r\n print(path)\r\n\r\nasync def twitterDl():\r\n url = 'https://x.com/HumansNoContext/status/1848152497476493332?t=wncNBDv7iRegV_lXgvcl3Q&s=19';\r\n res = await sosmed.twitter(url=url)\r\n path = await res.download()\r\n print(res.mediaExtended[0].parse())\r\n print(path)\r\n\r\n```\r\n\r\n\r\n### Installation\r\n\r\n``` bash\r\npip3 install sosmed\r\n```\r\n\r\n\r\n### License\r\n\r\n[MIT License](https://github.com/AyiinXd/pyPorn/blob/master/LICENSE)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Downloader Sosial Media - Multiple Platform and Asynchronous API in Python",
"version": "1.0.3",
"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": "8ecfdb05359fdd50fcc9dc50bd1d6feddd648f254f025dd627958cb726099a6f",
"md5": "47ca17e253413e46069a0b1d0a66c693",
"sha256": "e5535dc73bdec379f9acfe716a2ba3b8ea5b82e2719b65f554637408ac6a10be"
},
"downloads": -1,
"filename": "sosmed-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "47ca17e253413e46069a0b1d0a66c693",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 11800,
"upload_time": "2024-11-17T13:58:06",
"upload_time_iso_8601": "2024-11-17T13:58:06.952580Z",
"url": "https://files.pythonhosted.org/packages/8e/cf/db05359fdd50fcc9dc50bd1d6feddd648f254f025dd627958cb726099a6f/sosmed-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-17 13:58: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"
}