Porndl

Build Status

Porndl is a tiny command-line utility to download videos from the 91porn site(🔞).

Getting Start

Prerequisites

Install via pip

$ git clone git@github.com:iliul/porndl.git
$ cd porndl
$ pip install -r requirements.txt

Set a http proxy

$ python porndl.py -x 122.227.199.178:9999 VIDEO-URL

Set a socks proxy

$ python porndl.py -s 192.168.8.125:1080 VIDEO-URL

Auto-set proxy

$ python porndl.py -a VIDEO-URL

Example

(py3k) root@Ubuntu Server:~/code/porndl# python porndl.py VIDEO-URL
【VIDEO-TITLE】     下载完成     42400.02 KB / 42400.02 KB

Usage

Usage: porndl [OPTION]... [URL]...

Startup options:
    -V | --version                      Print version and exit.
    -h | --help                         Print help and exit.

Download options:
    -o | --output-dir <PATH>            Set output directory.
    -a | --auto-proxy                   Auto choice an Chinese HTTP proxy.
    -c | --cookies <COOKIES_FILE>       Load cookies.txt or cookies.sqlite.
    -x | --http-proxy <HOST:PORT>       Use an HTTP proxy for downloading.
    -s | --socks-proxy <HOST:PORT>      Use an SOCKS proxy for downloading.
    -d | --debug                        Show traceback and other debug info.

TODO

References

  1. you-get -- https://github.com/soimort/you-get
  2. proxy module -- https://github.com/soimort/you-get/pull/1063