+
Skip to content

rkwyu/gofile-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gofile-dl python Regression Tests

Buy Me A Coffee

About

A CLI (Command Line Interface) tool to download all directories and files from a gofile.io link as a batch

Setup

  1. Download repository
git clone https://github.com/rkwyu/gofile-dl
  1. Install dependencies
cd ./gofile-dl
python -m pip install -r requirements.txt

Usage (CLI)

usage: run.py [-h] [-f FILE] [-t NUM_THREADS] [-d DIR] [-p PASSWORD] [-x PROXY] [-i INCLUDES] [-e EXCLUDES] [url]

positional arguments:
  url             url to process (if not using -f)

options:
  -h, --help      show this help message and exit
  -f FILE         local file to process
  -t NUM_THREADS  number of threads (default: 1)
  -d DIR          output directory
  -p PASSWORD     password
  -x PROXY        proxy server (format: ip/host:port)
  -i INCLUDES     included files (supporting wildcard *)
  -e EXCLUDES     excluded files (supporting wildcard *)

Default output directory is ./output

Example 1: Download files from https://gofile.io/d/foobar

python run.py https://gofile.io/d/foobar

Example 2: Download files from https://gofile.io/d/foobar to directory /baz/qux

python run.py -d /baz/qux https://gofile.io/d/foobar

Example 3: Download files from https://gofile.io/d/foobar with password "1234" protected

python run.py -p 1234 https://gofile.io/d/foobar

Example 4: Download files from https://gofile.io/d/foobar with 4 threads

python run.py -t 4 https://gofile.io/d/foobar

Example 5: Download files from https://gofile.io/d/foobar except *.jpg, foo.bar files

python run.py -e "*.jpg" -e "foo.bar" https://gofile.io/d/foobar

Example 6: Download files from https://gofile.io/d/foobar including only *.png, except xyz.png files

python run.py -i "*.png" -e "xyz.png" https://gofile.io/d/foobar

Example 7: Download files from a local file

echo "https://gofile.io/d/foobar" > input.txt
python run.py -f ./input.txt

License

This project is licensed under the MIT License

About

Download all directories and files in Gofile (gofile.io) as a batch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载