Downloading youtube videos
Downloading tutorials from YouTube videos can be done through various methods. This guide covers two reliable options: using a browser add-on or the yt-dlp tool.
- Using browser addon
- Using
yt-dlp(recommendeded)
Prerequisites
- Connection: Connect to your phone’s hotspot/USB or school Wi-Fi
- Firewall: Temporarily stop the firewall with
rsv stop nftables - Usage: Preferably use the server. If you cannot connect to your hotspot/USB, use any client
Using browser addon
⚠️
- Disclaimer: the addon is not maintained, endorsed, or affiliated by the author or TechLit. Visit the site home for more details.
- NOTE: You might need to set the date manually using the
datecommand:sudo date -s "YYYY-MM-DD HH:MM:SS"
Launch firefox from start menu
Install the extension
Install the Easy YouTube Downloader extension available here.
Open the Video link
Open the video link you wish to download
Download the video
You should see a download button below the video title, next to the subscribe button. Click on the download button and select your preferred quality.
The download should start shortly
Move the video
Copy or move the video from downloads folder to public storage to avoid losing it after logout.
Using yt-dlp (Recommended)
Install yt-dlp
sudo pacman -Syy
sudo pacman -S yt-dlpChange to your desired directory
cd /srv/public/teachers/teacher-01
Initiate download
yt-dlp -f best https://www.youtube.com/watch?v=Qg1ml3aHAM4
# Or simply
yt-dlp -f best Qg1ml3aHAM4ℹ️
- You can list formats available using
yt-dlp -F urland choose the format you wish to download in the formatyt-dlp -f video+audio url