Mobilevids Downloader
Introduction
Mobilevids is an amazing website for downloading movies and tv shows.
This script makes it easier to batch download movies or TV serials.
Why is this helpful? A utility like wget can work, but has the following limitations:
- Video names have numbers in them, but this does not correspond to the actual order. Manually renaming them is a pain that is best left for computers.
- Using names from the syllabus page provides more informative names.
- Using
wgetin a for loop picks up extra videos which are not posted/linked, and these are sometimes duplicates.
This work was originally inspired in part by coursera-dl.
Features
- Support for all kinds of movies / TV shows.
- Intentionally detailed names, so that it will display and sort properly on most interfaces (e.g., VLC or MX Video on Android devices).
- Login credentials accepted on command-line or from
.netrcfile. - Core functionality tested on Linux, Mac and Windows.
Installation instructions
mobilevids-dl requires Python 3.10+ and a free Mobilevids account.
On any operating system, ensure that the Python executable location is added
to your PATH environment variable and, once you have the dependencies
installed (see next section), for a basic usage, you will need to invoke
the script from the main directory of the project and prepend it with the
word python. You can also use more advanced features of the program by
looking at the "Running the script" section of this document.
Recommended installation method for all Operating Systems
From a command line (preferably, from a virtual environment), simply issue the command:
pip install mobilevids-dl
This will download the latest released version of the program from the Python Package Index (PyPI) along with all the necessary dependencies. At this point, you should be ready to start using it.
Note: We strongly recommend that you don't install the package
globally on your machine (i.e., with root/administrator privileges), as the
installed modules may conflict with other Python applications that you have
installed in your system (or they can interfere with mobilevids-dl). Prefer
to install it into a virtual environment, or use pip install --user.
Running the script
Refer to mobilevids-dl --help for a complete, up-to-date reference on the runtime options
supported by this utility.
usage: mobilevids-dl [-h] [--version] [-a] [-d] [-i] [-e EPISODE] [-m MOVIE]
[-n [PATH]] [-o DIR] [-p PASSWORD] [--segments SEGMENTS]
[-s SEASON] [-t TV] [-u USERNAME]
[search]
Mobilevids Downloader script
positional arguments:
search title to search for
options:
-h, --help show this help message and exit
--version show program's version number and exit
-a, --ascii show ascii art
-d, --debug enable debug logging
-i, --info show info about movie/show
-e EPISODE, --episode EPISODE
download a single episode (requires -t [TV ID] and -s
[SEASON])
-m MOVIE, --movie MOVIE
ID of a movie to download
-n [PATH], --netrc [PATH]
read credentials from a netrc file, using the default
location if PATH is omitted
-o DIR, --output DIR directory to save downloads in (default: ~/downloads)
-p PASSWORD, --password PASSWORD
Mobilevids password
--segments SEGMENTS parallel connections per download (default: 4)
-s SEASON, --season SEASON
season to download (requires -t)
-t TV, --tv TV ID of a TV show to download
-u USERNAME, --username USERNAME
Mobilevids username
Credentials are resolved in this order:
- the
--username/--passwordcommand-line flags - the
MOBILEVIDS_USERNAMEandMOBILEVIDS_PASSWORDenvironment variables - a
.netrcfile
The environment variables are the recommended option: command-line arguments are visible to other users on the same machine (via the process list) and get saved in your shell history.
On *nix platforms, a ~/.netrc file is a good alternative to typing your
username and password every time. To use it, add an entry like the one below
to a file named .netrc in your home directory (or the equivalent, if
you are using Windows):
machine mobilevids
login <user>
password <pass>
Create the file if it doesn't exist yet, and make sure only you can read it
(chmod 600 ~/.netrc). From then on, you can switch from -u/-p to simply
calling mobilevids-dl.
Reporting issues
Before reporting any issue please follow the steps below:
-
Verify that you are running the latest version of the script, and the recommended versions of its dependencies, see them in the file
requirements.txt. Use the following command if in doubt:pip install --upgrade mobilevids-dl -
If the problem persists, feel free to open an issue in our bugtracker, please fill the issue template with as much information as possible.
Filing an issue/Reporting a bug
When reporting bugs against mobilevids-dl, please don't forget to include
enough information so that you can help us help you:
- Is the problem happening with the latest version of the script?
- What operating system are you using?
- Do you have all the recommended versions of the modules? See them in the
file
requirements.txt. - What are the precise messages that you get? Please run with
--debugand copy and paste the output rather than paraphrasing it. Your password is never printed, but review the output before posting in case it contains anything else you'd rather not share (e.g. video titles or IDs).
Contact
Please, post bugs and issues on github. Please, DON'T send support requests privately to the maintainers! We are quite swamped with day-to-day activities. If you have problems, PLEASE, file them on the issue tracker.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobilevids_dl-1.1.0.tar.gz.
File metadata
- Download URL: mobilevids_dl-1.1.0.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01562a8306e65983096c7d862c014e22ffe158ba9def3369408166e59a00e2fc
|
|
| MD5 |
6bc06ae84cb0887c0823f99f2ef7cd76
|
|
| BLAKE2b-256 |
86c616a50f6de38adc0df2d5d503d714bb6b2d555e95cd46c22043907fb79881
|
File details
Details for the file mobilevids_dl-1.1.0-py3-none-any.whl.
File metadata
- Download URL: mobilevids_dl-1.1.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aaac84df5acdedc5a7cfba27ed16f1f3d56b986c5288d4ecc3553c4b91ddc92
|
|
| MD5 |
c8cca0cd2b6de82af94330c301b424d9
|
|
| BLAKE2b-256 |
defe7105297d604fa913f9a12b5ca5fe0164412b9aeb5277958e03f726d5d494
|