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.9.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for GofileIOUploader-0.9.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a07f6b3985ab27796859ace988d8d598d04d7de40b7a0c61483bf81ae3afad1f |
|
MD5 | 5cda88b0b8b03add6e9f3957adacb0d2 |
|
BLAKE2b-256 | 025ca205973706dbba34d7f9f743baa81510c432e50eb9d6e786e72c312611de |