Gofile.io uploader supporting parallel uploads
Project description
GofileIO Uploader
A python script to upload files or directories to Gofile.io
Built using asyncio
, aiohttp
, and tqdm
Supports
- Gofile accounts
- Private and public directory uploads
- Parallel uploads
- Retries
- Progress bars
- Upload logging
Usage
pip install GofileIOUploader
usage: GofileIOUploader [-h] [-t TOKEN] [-z {na,eu}] [-f FOLDER] [-c CONNECTIONS] [--public | --no-public] [--save | --no-save] file
Gofile.io Uploader supporting parallel uploads
positional arguments:
file File or directory to look for files in to upload
options:
-h, --help show this help message and exit
-t TOKEN, --token TOKEN
API token for your account so that you can upload to a specific account/folder. You can also set the GOFILE_TOKEN environment variable for this
-z {na,eu}, --zone {na,eu}
Server zone to prefer uploading to
-f FOLDER, --folder FOLDER
Folder to upload files to overriding the directory name if used
-c CONNECTIONS, --connections CONNECTIONS
Maximum parallel uploads to do at once
--public, --no-public
Make all files uploaded public. By default they are private and not unsharable
--save, --no-save Don't save uploaded file urls to a "gofile_upload_<unixtime>.csv" file
Examples
Given
directory/
├── sample2.mkv
└── sample.mkv
Upload single file anonymously
gofile-upload directory/sample.mkv
Upload single file to your account
gofile-upload --token 123 foo directory/sample.mkv
Upload single file to directory foo
in your account
gofile-upload --token 123 --folder foo directory/sample.mkv
Upload directory to your account
gofile-upload --token 123 directory
Upload directory to directory foo
in your account
gofile-upload --token 123 --folder foo directory
Improvements Wishlist
- Paid accounts support
Thanks
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GofileIOUploader-0.9.8.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for GofileIOUploader-0.9.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be1239b15fd1e9bc122d53cd7e79fd2e07f19ab7e5c3d53a0b597ec4b914af6 |
|
MD5 | a5d1a2753f6c27b85550dccea0aa7354 |
|
BLAKE2b-256 | c7cdd9772c63fd268be26385a0c7913c38dc80c846a066227846fb56a7d6357b |