pornhub-dl.go

command module
v0.0.0-...-63d3448 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL