<h1 align="center">MyTube</h1>
<p align="center">
<img src="https://raw.githubusercontent.com/SuperZombi/MyTube/main/github/images/icon.png" height="128px">
</p>
<p align="center">
<img src="https://shields.io/badge/version-1.5.2-blue">
<a href="https://pypi.org/project/MyTube-dlp/"><img src="https://img.shields.io/pypi/v/MyTube-dlp"></a><br>
<a href="#donate"><img src="https://shields.io/badge/💲-Support_the_Project-2ea043"></a>
</p>
<p align="center">
<a href="https://superzombi.github.io/MyTube/">Documentation</a>
</p>
<p align="center">
MyTube is a wrapper around <a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a> that is similar in functionality to <a href="https://github.com/pytube/pytube">pytube</a>.<br>
I made it because I was tired of pytube being unstable and throwing errors over time.
</p>
### Requirements:
* [FFMPEG](https://ffmpeg.org/download.html) installed in $PATH
### Quick Start
```
pip install MyTube-dlp
```
```python
import MyTube
import asyncio
async def main():
link = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
yt = MyTube.YouTube(link)
stream = yt.streams.filter(only_muxed=True).order_by("res").first()
file = await stream.download("downloads")
asyncio.run(main())
```
### See also:
* [GUI for MyTube](https://github.com/SuperZombi/MyTube-GUI)
## 💲Donate
<table>
<tr>
<td>
<img width="18px" src="https://www.google.com/s2/favicons?domain=https://donatello.to&sz=256">
</td>
<td>
<a href="https://donatello.to/super_zombi">Donatello</a>
</td>
</tr>
<tr>
<td>
<img width="18px" src="https://www.google.com/s2/favicons?domain=https://www.donationalerts.com&sz=256">
</td>
<td>
<a href="https://www.donationalerts.com/r/super_zombi">Donation Alerts</a>
</td>
</tr>
</table>
Raw data
{
"_id": null,
"home_page": "https://github.com/SuperZombi/MyTube",
"name": "MyTube-dlp",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Super_Zombi",
"author_email": "super.zombi.yt@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/37/27/9cc8574120c27219edaf79286a4fc3173420173f127e924f6f43e952baec/mytube_dlp-1.5.2.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">MyTube</h1>\r\n\r\n<p align=\"center\">\r\n <img src=\"https://raw.githubusercontent.com/SuperZombi/MyTube/main/github/images/icon.png\" height=\"128px\">\r\n</p>\r\n<p align=\"center\">\r\n <img src=\"https://shields.io/badge/version-1.5.2-blue\">\r\n <a href=\"https://pypi.org/project/MyTube-dlp/\"><img src=\"https://img.shields.io/pypi/v/MyTube-dlp\"></a><br>\r\n <a href=\"#donate\"><img src=\"https://shields.io/badge/\ud83d\udcb2-Support_the_Project-2ea043\"></a>\r\n</p>\r\n<p align=\"center\">\r\n <a href=\"https://superzombi.github.io/MyTube/\">Documentation</a>\r\n</p>\r\n<p align=\"center\">\r\n MyTube is a wrapper around <a href=\"https://github.com/yt-dlp/yt-dlp\">yt-dlp</a> that is similar in functionality to <a href=\"https://github.com/pytube/pytube\">pytube</a>.<br>\r\n I made it because I was tired of pytube being unstable and throwing errors over time. \r\n</p>\r\n\r\n### Requirements:\r\n\r\n* [FFMPEG](https://ffmpeg.org/download.html) installed in $PATH\r\n\r\n### Quick Start\r\n```\r\npip install MyTube-dlp\r\n```\r\n```python\r\nimport MyTube\r\nimport asyncio\r\n\r\nasync def main():\r\n\tlink = \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"\r\n\tyt = MyTube.YouTube(link)\r\n\tstream = yt.streams.filter(only_muxed=True).order_by(\"res\").first()\r\n\tfile = await stream.download(\"downloads\")\r\n\r\nasyncio.run(main())\r\n```\r\n\r\n### See also:\r\n* [GUI for MyTube](https://github.com/SuperZombi/MyTube-GUI)\r\n\r\n\r\n## \ud83d\udcb2Donate\r\n\r\n<table>\r\n <tr>\r\n <td>\r\n <img width=\"18px\" src=\"https://www.google.com/s2/favicons?domain=https://donatello.to&sz=256\">\r\n </td>\r\n <td>\r\n <a href=\"https://donatello.to/super_zombi\">Donatello</a>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <img width=\"18px\" src=\"https://www.google.com/s2/favicons?domain=https://www.donationalerts.com&sz=256\">\r\n </td>\r\n <td>\r\n <a href=\"https://www.donationalerts.com/r/super_zombi\">Donation Alerts</a>\r\n </td>\r\n </tr>\r\n</table>\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Python YouTube Downloader",
"version": "1.5.2",
"project_urls": {
"Documentation": "https://superzombi.github.io/MyTube/",
"Homepage": "https://github.com/SuperZombi/MyTube"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "14c96893b728ba8717a57246b1e2f1271d43e336f7fa07f5db3aaa2ee5a38247",
"md5": "8b6792aeb9f3406b94ae62ec0f3593d7",
"sha256": "59a6496d3f46f4f29af56e0df6ad220105c141082fe1744c0a25a43332e9e18d"
},
"downloads": -1,
"filename": "MyTube_dlp-1.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b6792aeb9f3406b94ae62ec0f3593d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12043,
"upload_time": "2024-12-01T19:54:43",
"upload_time_iso_8601": "2024-12-01T19:54:43.858124Z",
"url": "https://files.pythonhosted.org/packages/14/c9/6893b728ba8717a57246b1e2f1271d43e336f7fa07f5db3aaa2ee5a38247/MyTube_dlp-1.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37279cc8574120c27219edaf79286a4fc3173420173f127e924f6f43e952baec",
"md5": "03f202a4fdef8b52077ac807896cff69",
"sha256": "15795da9f7a6c0afbd51884996ce6bc5762ef2c6651b87615cccf5aae953b451"
},
"downloads": -1,
"filename": "mytube_dlp-1.5.2.tar.gz",
"has_sig": false,
"md5_digest": "03f202a4fdef8b52077ac807896cff69",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9872,
"upload_time": "2024-12-01T20:02:01",
"upload_time_iso_8601": "2024-12-01T20:02:01.592467Z",
"url": "https://files.pythonhosted.org/packages/37/27/9cc8574120c27219edaf79286a4fc3173420173f127e924f6f43e952baec/mytube_dlp-1.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-01 20:02:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SuperZombi",
"github_project": "MyTube",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mytube-dlp"
}