A command-line tool for downloading files from gofile.io where you are authorized to access them.
Use this tool only on files that you have permission to download, such as:
- Files you uploaded yourself
- Publicly shared files
- Files you have been explicitly granted access to
Unauthorized downloading or redistribution of copyrighted material may violate copyright law. The authors of this project are not responsible for misuse.
gofile-dl is a utility that helps you download files from Gofile.io efficiently. It supports batch downloads and can save files to a specified local directory.
This tool does not bypass protections or provide access to private content without authorization.
- Python 3.10+ (recommended: latest stable release)
- pip installed
Confirm installation:
python --version
pip --versionClone the repository and install dependencies:
git clone https://github.com/rkwyu/gofile-dl
cd gofile-dl
pip install -r requirements.txtusage: 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/foobarExample 2: Download files from https://gofile.io/d/foobar to directory /baz/qux
python run.py -d /baz/qux https://gofile.io/d/foobarExample 3: Download files from https://gofile.io/d/foobar with password "1234" protected
python run.py -p 1234 https://gofile.io/d/foobarExample 4: Download files from https://gofile.io/d/foobar with 4 threads
python run.py -t 4 https://gofile.io/d/foobarExample 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/foobarExample 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/foobarecho "https://gofile.io/d/foobar" > input.txt
python run.py -f ./input.txtThis README clarifies that gofile-dl is intended for use only on authorized content. It is the user’s responsibility to comply with copyright law and the platform’s terms of service.
This project is not affiliated with or endorsed by Gofile.io.
All trademarks and copyrights belong to their respective owners.
This project is licensed under the MIT License