Video download CLI utility
Project description
Videobox
Videobox is a Python program that lets you download latest TV series via a quick and simple command-line interface.
If you would like to hack the source code read the Contributing section below.
Install
You can install Videobox from PyPI via the pip
utility:
python -m pip install videobox
The install procedure will also create a videobox
command, available in your terminal. For example, if you installed Python on macOS via homebrew the command will live in /opt/homebrew/bin/videobox
.
Currently Videobox requires aria2 to download contents. Please check aria2 documentation to install it on your machine.
Quick guide
First, tell Videobox to update its local database:
$ videobox update
First run: import running series...
(...)
Note: Videobox will auto-update itself if local database hasn't been refreshed for a while.
Find out what series are running:
$ videobox running -y7
Found 84 series updated in the last 7 days:
(...)
N
· NCIS CBS
· NCIS: Hawai'i CBS
· NCIS: Los Angeles CBS
Find out more about a specific series:
$ videobox search ncis los angeles
------------------------------
NCIS: Los Angeles CBS
------------------------------
NCIS: Los Angeles is a drama about the high stakes world of
undercover surveillance at the Office of Special Projects
(...)
#Action #Adventure #Crime #Drama
Found 1 season with a total of 15 episodes and 92 releases:
Season 14
1 Game of Drones Aired 3 months ago, with 8 releases
2 Of Value Aired 2 months ago, with 11 releases
3 The Body Stitchers Aired 2 months ago, with 9 releases
(...)
15 TBA Will air on Mar. 05, 2023
More series info at <https://thetvdb.com/series/ncis-los-angeles>
Download a whole series season without headaches:
$ videobox download ncis los angeles -s14 --dry-run
Ready to download 10 releases for series 'NCIS: Los Angeles':
Seeds Res. Size Name
--------------------------------------------------------------------------------
128 1080p 2.15GB ncis.los.angeles.s14e01.1080p.web.h264-glhf[eztv.re].mkv
198 1080p 2.15GB NCIS.Los.Angeles.S14E02.1080p.WEB.h264-GOSSIP[eztv.re].mkv
209 1080p 2.15GB NCIS.Los.Angeles.S14E03.1080p.WEB.h264-GOSSIP[eztv.re].mkv
(...)
90 720p 1.41GB NCIS.Los.Angeles.S14E10.720p.WEB.h264-KOGi[eztv.re].mkv
Motivation
I've seen too many torrent web sites full of tracking scripts, pop-ups windows and crypto mining to remember. In the past years I've built a number of scripts to scrape such sites and now it's time to put all together in a coherent way.
Contributing
Setup the environment
Starting from the repo root you might want to create a new virtual environment, to avoid messing up pre-existing Pyhton packages on your machine:
make venv
And activate it:
source .venv/bin/activate
Then, install all project dependencies into the virtual enviroment just created:
make install-deps
When you are done you can exit the virtual enviroment with the deactivate
command.
Where to find Videobox data
Videobox stores local database and settings in ~/.videobox
. The directory will look something like this:
.videobox/
library.db
logs/
2023-01-24.log
2023-01-25.log
...
videobox.ini
Using the debugger with Visual Studio Code
Debug works just fine under Visual Studio Code once you pick the Python interpreter shown in the .venv
folder created earlier.
Place any breakpoint you need, hit F5 and editor will fire up the application.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file videobox-0.3.2.tar.gz
.
File metadata
- Download URL: videobox-0.3.2.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ea41b76dd1a07bc71f4176ad478bcf102d6665c8a4424a2720ec9dc1eca2da9 |
|
MD5 | a1a314b6851b85ba19a35beb984172ed |
|
BLAKE2b-256 | d114bb72248e8047b60c77f0e4656186675fd8a2e30424ebb9c1706a5adc74f7 |
Provenance
File details
Details for the file videobox-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: videobox-0.3.2-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbe17a81722dcdbc5b33176dac98ba0e046d2939d27ecc33e636a142f773d1b |
|
MD5 | 888b86e9a780752d5502fd760d0e386f |
|
BLAKE2b-256 | c86dbcab468176d54a5f2eaf394989ab60d197baf4de1b0d77d59e51f76d1fcc |