-
Download Treehouse Tracks, Courses and Workshops for offline use.
-
You need an active account at teamtreehouse.com to download the courses.
-
NOTE Your library might have partnered with teamtreehouse.com to offer you free teamtreehouse.com account.
- Download
- Courses
- Tracks
- Workshops
- Practice Sessions
- Instructions
- Project Files
- Auto recognize download type
- Adapt folder structure accordingly
- Python3
- ChromeWeb Driver (In your PATH)
- BeautifulSoup
- selenium
- aria2
- Install Python 3
- Install ChromeWeb Driver and add it to your PATH (Version has to match your installed chrome browser version)
- Install aria2
# open terminal or commandline
$ sudo apt-get install libxml2-dev libxslt1-dev -y
$ pip install -r requirements.txt
- Add your email, password and download path to the settings file
data/settings.json
{
"email": "treehouse-login",
"password": "treehouse-password",
"webdriver": "chromedriver",
"download_folder": "PATH/TO/YOUR/DOWNLOAD/FOLDER/",
"EXTERNAL_DL": " --external-downloader aria2c --external-downloader-args '-j1 -x16 -s16 -k1M' "
}
- Add the download links to Tracks, Courses, Workshops, etc. seperated by line to
data/links.txt
- Comments with "#" are possible
# open terminal or commandline
$ python treehouse.py
- Thanks to muse-sisay, for inspiration.