-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from akamch/update-readme
README: Add OS prerequisites, fix pip install command
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,35 +4,42 @@ The Easiest way to download any Packt video tutorial | |
|
||
**Notice: You need a Packt account with subscription or free trial to download videos** | ||
|
||
# Features | ||
## Features | ||
|
||
* Download any video using your subscription | ||
* Resume downloads | ||
* Download rate limit | ||
* Easy to use | ||
|
||
# How to use | ||
## How to use | ||
|
||
First you need to install the prerequisites. On Debian-based distributions run the following commands: | ||
|
||
```bash | ||
sudo apt update | ||
sudo apt install build-essential libcurl4-openssl-dev libssl-dev | ||
``` | ||
|
||
Clone this repository, install requirements and run the script. For example: | ||
|
||
```bash | ||
chmod +x ./pvdl.py | ||
pip --user install -r requirements.txt | ||
pip install --user -r requirements.txt | ||
|
||
./pvdl.py -u [email protected] -p Passw0rd -l "https://subscription.packtpub.com/video/programming/9781788834995" | ||
``` | ||
|
||
or install pvdl using pip: | ||
|
||
```bash | ||
pip --user install pvdl | ||
pip install --user pvdl | ||
|
||
pvdl -u [email protected] -p Passw0rd -l "https://subscription.packtpub.com/video/programming/9781788834995" | ||
``` | ||
|
||
Usage: | ||
|
||
``` | ||
```bash | ||
usage: pvdl.py [-h] [-u USERNAME] [-p PASSWORD] [-r RATE_LIMIT] [-l LINK] | ||
|
||
PacktPub Video Downloader | ||
|
@@ -51,7 +58,7 @@ required arguments: | |
|
||
``` | ||
|
||
# License | ||
## License | ||
|
||
PacktPub Video Downloader is a free software and is licensed under GNU Public License v3+ | ||
|
||
|