Skip to content
NFSW: A minimalistic command-line application to download videos from PornHub.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE Initial commit May 12, 2019
Makefile Updated Makefile for clean tmp files. May 26, 2019
README.md Modify to right variable and param name May 26, 2019
go.mod add Makefile & go mod May 26, 2019
go.sum
main.go

README.md

pornhub-dl

pornhub-dl started as a fun project to learn Go and to demonstrate a few basic capabilities of the Go language. The whole project is inspired by youtube-dl. It was done in about 2 hours with absolutely zero knowledge of Go.

Usage

Clone this repository and build it by yourself with go build or download one of the prebuilt assemblies. You can call it via command-line. It supports the following flags:

Flag Default Description
url "empty" URL of the video to download
quality "highest" The quality number (eg. 720) or 'highest'
output "default" Path to where the download should be saved or 'default' for the original filename
threads 10 The amount of simultaneous download streams
socket5 "" Specify socks5 proxy address for downloading resources
debug false Whether you want to activate debug mode or not (not in use)

Contribution

Contributions of any kind such as refactorings with explanations or adding new features are appreciated.

License

Please see the LICENSE file for more information.

You can’t perform that action at this time.