download files from youtube in simple code
Project description
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)
Installing
to install with pip- type in terminal:
(sudo) pip install mhyt
to install by hand - download files from pypi unzip files to folder and type in terminal
cd folder
(sudo) python setup.py install
Built With
- youtube_dl - to download files from youtube
Author
matan h
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mhyt-0.5.tar.gz
(2.3 kB
view hashes)