YouTubeDownloader is a Firefox extension that allows you to download YouTube videos and playlist in mp3 and mp4 format. It also allows you to select specific parts of a video and choose a resolution for mp4 files.
Before using the extension, you must download a few dependencies:
Execute init.bat
in Administrator mode:
- Installs
pip
if it's not already installed. - Installs Python libraries:
Tkinter
,BeautifulSoup
,requests
, andpytubefix
. - Installs
ffmpeg
if it's not already installed and adds the file path to thePATH
environment variable. - Adds a registry key.
To install the extension in Firefox, follow these steps:
- Open a new Firefox tab and enter
about:debugging
. - Navigate to This Firefox on the left side of the tab.
- Click on Load Temporary Add-on....
- Select
manifest.json
. - Copy the Extension ID.
- Paste it in
native-messaging.json
inallowed_extensions
.
Once the extension is properly installed:
- Navigate to the YouTube video or playlist you want to download.
- Click on the extension button in the top right corner of Firefox.
- Click on the YouTubeDownloader extension to start the download process.
To modify the settings of the extension:
- Open a new Firefox tab and enter
about:addons
. - Click on the extension.
- Click on Options.
- By default, files are saved in the extension directory, in a folder named
output
. - The Timestamps box is empty by default, meaning the entire YouTube video will be downloaded.
- The format for the timestamps is
HH:MM:SS
. Formats like1:15
or10
are understood as 1 minute 15 seconds and 10 seconds respectively. - iTunesSync allows you to automatically add songs to your itunes library.