58 lines
1.9 KiB
Markdown
58 lines
1.9 KiB
Markdown
# UNIT3D Seedbox Manager
|
|
|
|
For when you have a non-static IP on your seedbox and this is a script that can automagically manage it for you.
|
|
|
|
## Usage
|
|
|
|
```cmd
|
|
seedbox.py tracker username [ip] [options]
|
|
```
|
|
|
|
> It is up to **you** as user to fill in the `tracker.py` file with all your own trackers. There are two trackers in the file as an example.
|
|
|
|
## Requirements
|
|
|
|
You will need a `Netscape HTTP Cookie File` with the cookie `remember_web_*` from the UNIT3D tracker of your choice. Basically, login and then save the cookies to a file called `unit3d.cookies` and place it in the script folder or use the `--cookie-file` option with a custom file.
|
|
|
|
## All options
|
|
|
|
- `--help`, `--print | --no-print`, `--seedbox-name`, `--delete | --no-delete`, `--cookie-file`
|
|
|
|
## Example
|
|
|
|
```cmd
|
|
python ./seedbox.py TRACKER USERNAME 1.1.1.2 --no-delete --seedbox-name SeedExample1 --print
|
|
|
|
| Name IP ID
|
|
| -----------------------------------------------------
|
|
| MainBox 192.168.12.234 1448
|
|
| SeedExample 1.1.1.1 1455
|
|
|
|
Successfully added Seedbox "SeedExample1" (1.1.1.2) to TRACKER
|
|
```
|
|
|
|
## Help
|
|
|
|
```cmd
|
|
usage: seedbox.py tracker username [ip] [options]
|
|
|
|
Automagically add or remove seedbox entries on any UNIT3D
|
|
|
|
positional arguments:
|
|
tracker Tracker name or abbreviation.
|
|
username username
|
|
ip IP of the seedbox
|
|
|
|
options:
|
|
-h, --help show this help message and exit
|
|
--print, --no-print Prints list of seedboxes (default: False)
|
|
--seedbox-name SEEDBOX_NAME
|
|
Name of the seedbox (default: PikminBox)
|
|
--delete, --no-delete
|
|
Deletes all old seedbox entries (default: False)
|
|
--cookie-file COOKIE_FILE
|
|
Cookies to be used when making requests (default: ./unit3d.cookies)
|
|
|
|
For bugs/errors, please DM me on FnP or make an issue on GitHub
|
|
```
|