An automation service to download videos from Youtube
Project description
# YoutubeDownloader
**YoutubeDownloader** is an automation service to download multiple youtube videos at a one time.
## About
**YoutubeDownloader** is written in `Python`. It uses ``Python Multiprocessing`` at its heart which facilitates user to download more than one video at a time.
**YoutubeDownloader** supports a YAML / JSON format configuration file. This configuration file gives more structure and usability to the package. It defines what **videos/playlists** needs to be downloaded and how they are going to be stored.
## Configuration Syntax
**YoutubeDownloader** supports YAML / JSON configuration formats. Below is the snippet of sample configurations in YAML / JSON format.
```
settings:
process: 2
download:
mostlyinsane:
dirname: 'mostlyinsane'
videos:
- 'https://www.youtube.com/watch?v=vcKPjDUc5EQ'
trippling:
dirname: 'trippling'
playlist: 'https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7'
```
```
{
"settings": {
"process": 5
},
"download": {
"mostlyinsane": {
"dirname": "mostlyinsane",
"videos": [
"https://www.youtube.com/watch?v=vcKPjDUc5EQ"
]
},
"trippling": {
"dirname": "trippling",
"playlist": "https://www.youtube.com/watch?list=PLTB0eCoUXEraZe3d7fJRdB-znE5D0cMZ7"
}
}
}
```
`settings` defines package level variables.
- `process` to force **YoutubeDownloader** to use `Python Multiprocessing` and tells how many processes should be deployed to download videos at a time.
`download` defines what **videos/playlists** to download. It tags **dirnames** with **videos/playlists** internally and store the downloaded **videos/playlists** in the respective **directory**.
- `dirname` **relative / absolute directory path** to store videos in.
- `videos` **single / array of youtube videos link** to download
- `playlist` **single / array of youtube playlist link** to download
## Install
This is a pure-Python package built for Python 2.6+ and Python 3.0+. To set up:
```
pip install ytdownloader
```
## Options
```
ytdownloader --help
```
- `configuration` specifies the location for the configuration file to **YoutubeDownloader**. If it omits, **YoutubeDownloader** looks in the current directory for the configuration file.
- `version` specifies the currect version of **YoutubeDownloader**.
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
ytdownloader-0.1.5.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for ytdownloader-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13411d90a5b86a3598420d6c3553aabcf29a316c0a0bd386305c4c932712bc6 |
|
MD5 | 78f17ded613f936c9d388b21c6c21fe2 |
|
BLAKE2b-256 | 924073f779fbd44fa811adfa2778eb40489693025e1c338656957122a762332e |