Skip to main content

mhyt

mhyt is a Python library for download movies and music from youtube

mhyt can run in python 3+

examples

from mhyt import yt_download
url = "https://www.youtube.com/watch?v=0BVqFYParRs"
file = "Clouds.mp4"
yt_download(url,file)
#########################
file = "Clouds_music.mp3"
yt_download(url,file,ismusic=True)

The audio example is not fully working because ytdl downloads a webm format. To fix this you can do:

from mhyt import yt_download
url = "https://www.youtube.com/watch?v=0BVqFYParRs"
file = "Clouds_music.mp3"
tmp_file = "Clouds_music.webm"
yt_download(url,tmp_file,ismusic=True,codec  = "mp3")

Clouds_music.mp3 will be in correct mp3 format. It will create and delete Clouds_music.webm (the tmp file) automatically.

Installing

To install with pip:

(sudo) pip install mhyt

Built With

Author

matan h

License

This project is licensed under the MIT License.

created by

This library uploaded and manage using libtool

Metadata

Release files for mhyt 3.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mhyt 3.5.5
File Size Uploaded
mhyt-3.5.5.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mhyt 3.5.5
File Interpreter ABI Platform
mhyt-3.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / mhyt-3.5.5.tar.gz

Download URL mhyt-3.5.5.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b369b40b39633b166e8d8ede98e4080cc73d676b051c12e063399e3865d6891
BLAKE2b-256 checksum
How to use checksums
7785da0f61cbc7be6fc04e309c910458169c8dfcafdd500282d60e65160c1105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / mhyt-3.5.5-py3-none-any.whl

Download URL mhyt-3.5.5-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c194a1023e27f5c18a1e6268ba29618f7a9461ea833ea96d673f3ab9ef24883
BLAKE2b-256 checksum
How to use checksums
ce7e9c3d3df53f794fc101c022f7e83681e405a47382597332911db3b13ed19f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

3.5.5 This release

2 release files

3.5.4

2 release files

3.5.3

2 release files

3.5.2

2 release files

3.5

2 release files

3.4

2 release files

2.38

2 release files

2.37

2 release files

2.35

2 release files

1.30

2 release files

1.22

2 release files

1.21

2 release files

1.20

2 release files

0.41

2 release files

0.40

2 release files

0.7

1 release file

0.6

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page