| File | Date | Author | Commit |
|---|---|---|---|
| LICENSE | 2023-07-22 |
|
[deb298] Created LICENSE |
| README.md | 2023-07-22 |
|
[34a7eb] Update README.md |
| main.py | 2023-07-22 |
|
[66cb26] added README |
| video_links.txt | 2023-07-22 |
|
[66cb26] added README |
Welcome to the YouTube Audio and Video Downloader! This Python script allows you to download audio and video files from YouTube using their video URLs. To get started, you need to install the pytube library and follow the command line instructions provided below.
To use this YouTube Audio and Video Downloader, you'll need the following prerequisites:
pytube library installed.First, make sure you have Python installed. You can download Python from the official website: https://www.python.org/downloads/
Next, install the required pytube library using pip:
pip install pytube
main.py file to your local machine.git clone https://github.com/Rishi-k-s/youtube_downloader.git
To use the YouTube Audio and Video Downloader, follow these steps:
video_links.txt in the same folder as main.py.(if you are cloning this repo the folder file already exists)video_links.txt file.Add the video links you want to download to the video_links.txt file in the following format:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
https://www.youtube.com/watch?v=hvL1339luv0
https://www.youtube.com/watch?v=NZzXzymUgEg
Replace this links which already exist with the actual YouTube video IDs you want to download.
Open a terminal or command prompt, navigate to the folder containing main.py, and run the following command:
python main.py
The script will read the video links from the video_links.txt file and download the audio and video files for each URL in the same folder as main.py.
This YouTube Audio and Video Downloader is licensed under the MIT License.
Contributions to this project are always welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
For any questions or support related to this script, you can reach out to the project maintainers through the GitHub repository's issue tracker.
This script is intended for personal use only. Please ensure you have the necessary permissions to download and use content from YouTube. Respect copyright laws and the terms of service of YouTube while using this script.
Note: This script might break if YouTube's website structure or API changes. The maintainers will try their best to keep the script up-to-date, but there is no guarantee of uninterrupted functionality.