A Python script to automatically extract and download video content from Unity Learn tutorials using Selenium and BeautifulSoup.
The video tutorials on learn.unity.com can be painfully slow to load and buffer, making it frustrating to follow along. This script was created to solve that problem by allowing you to download the tutorial videos in bulk for smooth offline viewing. You can then continue reading the lesson content on the website while watching the videos locally—without the lag.
- Extracts video URLs from Unity Learn lessons
- Automatically downloads videos to a structured folder
- Creates folders using lesson titles
- Headless browser support (no UI pop-up)
- Python 3.7+
- Google Chrome installed
- ChromeDriver matching your Chrome version in PATH
Videos/
└── Lesson 1.1 - Start your 3D Engines/
└── video_1.mp4
pip install -r requirements.txt
Go to the lesson page (usually has multiple videos. i.e., Lesson 1.1). Copy the link and paste in the run command.
python unity_video_downloader.py https://your-url-here