Skip to content

ltsdw/gofile-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gofile-downloader

Download files from https://gofile.io

Requirements

Python version 3.10 or newer.

Modules:

pip3 install -r requirements.txt

Usage

python gofile-downloader.py https://gofile.io/d/contentid

If it has password:

python gofile-downloader.py https://gofile.io/d/contentid password

Use the environment variable GF_DOWNLOADDIR to specify where to download to (the path must exist already):

GF_DOWNLOADDIR="/path/to/the/directory" python gofile-downloader.py https://gofile.io/d/contentid

Use the environment variable GF_USERAGENT to specify browser user agent (default Mozilla/5.0):

GF_USERAGENT="user agent string" python gofile-downloader.py https://gofile.io/d/contentid