Skip to content

Commit

Permalink
Merge pull request #2 from akamch/update-readme
Browse files Browse the repository at this point in the history
README: Add OS prerequisites, fix pip install command
  • Loading branch information
TheWeirdDev authored Dec 2, 2019
2 parents 92fa6fc + e891721 commit 7a630d2
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -51,7 +58,7 @@ required arguments:

```

# License
## License

PacktPub Video Downloader is a free software and is licensed under GNU Public License v3+

Expand Down

0 comments on commit 7a630d2

Please sign in to comment.