This release is a pre-release and may not be stable for production use.
linuxacademy-dl
A utility to download Linux Academy (linuxacademy.com) courses, for personal offline use.
Version
1.0a4
Prerequisites
Python (>=2.7.9 or >=3.5)
pip (Python Install Packager)
ffmpeg (Cross-platform solution to record, convert and stream audio and video - Optional)
If there are any missing packages, they will be automatically installed by pip
Preinstall
If you don’t have pip installed, look at their install doc. Easy install (if you trust them) is to run their bootstrap installer directly by using:
sudo curl https://bootstrap.pypa.io/get-pip.py | sudo python
Install
linuxacademy-dl can be installed using pip
pip install linuxacademy-dl
or
python -m pip install linuxacademy-dl
In OS X and Linux you need to sudo installing linuxacademy-dl or you may face some errors
sudo pip install linuxacademy-dl
Also you need to use sudo installing pip itself or you run into the same problem.
Update
linuxacademy-dl can be updated using pip
pip install --upgrade linuxacademy-dl
or
python -m pip install --upgrade linuxacademy-dl
In OS X and Linux you need to sudo upgrade linuxacademy-dl
sudo pip install --upgrade linuxacademy-dl
Docker Image
Docker Image for this tool is also available. Just install the Docker in your machine and use the following command to pull the image:
docker pull vassim/linuxacademy-dl
Once you’ve finished pulling the image, you can run the container using the following command. Replace <download-dir> with the folder location where you want to put your downloaded contents.
docker run -it -v "<download-dir>":"/media" vassim/linuxacademy-dl
Usage
Simply call linuxacademy-dl with the full URL to the course page.
linuxacademy-dl https://linuxacademy.com/cp/modules/view/id/course_id
or
python -m linuxacademy_dl https://linuxacademy.com/cp/modules/view/id/course_id
linuxacademy-dl will ask for your username (or email address) and password then start downloading the videos.
By default, linuxacademy-dl will download all the course materials directly into the current working directory. If you wish to have the files downloaded to a specific location, use the -o /path/to/directory/ parameter.
If you wish, you can include the username/email and password on the command line using the -u and -p parameters.
linuxacademy-dl -u user@domain.com -p $ecRe7w0rd https://linuxacademy.com/cp/modules/view/id/course_id
For information about all available parameters, use the --help parameter
linuxacademy-dl --help
Advanced Usage
usage: linuxacademy-dl [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT]
[--use-ffmpeg] [-q {1080,720,480,360}] [--debug] [-v]
link
Fetch all the lectures for a Linux Academy (linuxacademy.com) course
positional arguments:
link Link for Linux Academy course
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username / Email
-p PASSWORD, --password PASSWORD
Password
-o OUTPUT, --output OUTPUT
Output directory
--use-ffmpeg Download videos from m3u8/hls with ffmpeg
(Recommended)
-q {1080,720,480,360}, --video-quality {1080,720,480,360}
Select video quality [default is 1080]
--debug Enable debug mode
-v, --version Display the version of linuxacademy-dl and exit
Uninstall
linuxacademy-dl can be uninstalled using pip
sudo pip uninstall linuxacademy-dl
You may uninstall the dependant packages too but be aware that those might be required for other Python modules.
Metadata
Release files for linuxacademy-dl 1.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linuxacademy-dl-1.0a4.tar.gz | 12.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linuxacademy_dl-1.0a4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 42.1 kB
Release files / linuxacademy-dl-1.0a4.tar.gz
| Download URL | linuxacademy-dl-1.0a4.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bc67fa76e3e8c4396524ada0fcc451cbb78df7f783cb6375ad584836d8fc724
|
|
BLAKE2b-256 checksum How to use checksums |
449cd735cd4a8923eed23eac16cd55880fa64535c88b1da5df3e3bc5fccf6601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / linuxacademy_dl-1.0a4-py2.py3-none-any.whl
| Download URL | linuxacademy_dl-1.0a4-py2.py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
374d6c0497788d5dac47fbba936af7ae66dc49f4a8c9b16d0dc0f539ddbc1c59
|
|
BLAKE2b-256 checksum How to use checksums |
f9a465b30b0beab444496d7ce527a98aba17c8865580e0d5e3e671ca849fed05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |