https://github.com/elainefs/download-videos-yt
Program using pytube to download YouTube videos via CLI on Linux.
https://github.com/elainefs/download-videos-yt
linux python3 pytube video youtube
Last synced: 2 months ago
JSON representation
Program using pytube to download YouTube videos via CLI on Linux.
- Host: GitHub
- URL: https://github.com/elainefs/download-videos-yt
- Owner: elainefs
- License: mit
- Created: 2021-05-29T02:25:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T19:15:15.000Z (almost 2 years ago)
- Last Synced: 2025-01-05T03:11:58.601Z (4 months ago)
- Topics: linux, python3, pytube, video, youtube
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
![]()
## 📘 About
Program using [pytube](https://pytube.io/en/latest/#) to download YouTube videos via CLI on **Linux**.## ⚒️ Tools
- [Linux](https://www.linux.org/pages/download/)
- [Python 3](https://www.python.org/downloads/)
- [Pytube](https://pytube.io/en/latest/)## 💻 Installing pytube
To install pytube, run the following command in your terminal:
```bash
$ pip3 install pytube
```## ⬇️ Download the file
[downloadYT.py](https://github.com/elainefs/download-videos-YT/archive/refs/heads/main.zip)
## 🎲 How use
1. Open the terminal and navigate to the folder where the zip file downloaded in the previous step was saved
2. Extract the file:
- On Linux run the command `$ unzip download-videos-YT-main.zip`
3. Navigate to the folder that was extracted `$ cd download-videos-YT-main`
4. To start the program, run the command `$ python3 downloadYT.py`
5. Enter the video link. Eg: https://www.youtube.com/watch?v=-rLt89HZ6DQ
6. Enter the name of the folder where the video will be saved. Eg: Downloads
Note: A folder with the name you entered will be created inside the directory where the program is running
7. The program will display the video information: Title, Number of Views, Size in seconds, Number of Ratings
8. The video will start to download
9. When the download is complete the message **'Download complete!'** will appear.## 📄 License
This project is under the MIT license. See the [LICENSE](https://github.com/elainefs/download-videos-YT/blob/main/LICENSE) file for more details.
Made with ❤️ by [Elaine Ferreira](https://github.com/elainefs)