2019-12-09 21:19:40 +01:00
|
|
|
# YDL: Youtube Downloader
|
2019-12-09 20:37:17 +01:00
|
|
|
|
|
|
|
Ydl is a simple python program that downloads youtube videos, converts them into
|
|
|
|
audio file and creates an xml file to listen to them as a podcast.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
usage: ydl.py [-h] [-s] [-q] [-f] [-video] [-d DIR] [-url URL]
|
|
|
|
[-yturl YOUTUBE_URL]
|
2019-12-09 20:37:17 +01:00
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-s, --simulate Do not download videos, just do as if
|
|
|
|
-q, --quiet Very quiet option for youtube-dl
|
|
|
|
-f, --feed Create Podcast feed
|
|
|
|
-video Download videos instead of creating audio
|
|
|
|
-d DIR, --dir DIR Define download directory for files, default
|
|
|
|
value:'~/Vidéos'
|
|
|
|
-url URL Define base url for podcasts, default
|
|
|
|
value:'http://podcasts.lutix.org'
|
|
|
|
-yturl YOUTUBE_URL, --youtube_url YOUTUBE_URL
|
|
|
|
Define youtube url to fetch
|
2019-12-09 20:37:17 +01:00
|
|
|
|
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
### Prerequisites
|
2019-12-09 20:37:17 +01:00
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
Please check requirements.txt.
|
2019-12-09 20:37:17 +01:00
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
### Installing
|
2019-12-09 20:37:17 +01:00
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
Either use binary ydl in dist folder (under Linux OS only) or run python3 over ydl.py.
|
2019-12-09 20:37:17 +01:00
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
* **fabthegreat** - *Initial work* - fabthegreat@lutix.org
|
2019-12-09 20:37:17 +01:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
This project is not yet licensed.
|
2019-12-09 20:37:17 +01:00
|
|
|
|
|
|
|
## Acknowledgments
|
|
|
|
|
2019-12-09 21:19:40 +01:00
|
|
|
* youtube-dl library.
|
2019-12-09 20:37:17 +01:00
|
|
|
|