Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Egsagon/PHUB
Browse files Browse the repository at this point in the history
  • Loading branch information
Egsago-n committed Jun 23, 2023
2 parents 038d86e + 15b7dc1 commit e2a8040
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ pip install --upgrade phub
pip install --upgrade git+https://github.com/Egsagon/PHUB.git
```

## Usage
## CLI usage
You can use phub like so form the terminal to start a small downloading script:
(Assuming `py` represents your python executable, on linux use `python3`)
```sh
py -m phub --help
```

Example for downloading a video knowing its url, in the best available quality:
```sh
py -m phub --url https://... -q 'best'
````

## Package usage
Example video download usage:
```python
import phub
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = phub
version = 2.5
version = 2.6
description = An API for PornHub
author = Egsagon
author_email = egsagon12@gmail.com
Expand Down

0 comments on commit e2a8040

Please sign in to comment.