Skip to content

This is a python script for changing the whitelisted IP for FileList API automatically.

License

Notifications You must be signed in to change notification settings

DevilRange/filelist-api-whitelist

 
 

Repository files navigation

filelist-api

Introduction

This is a simple python script which uses requests to update your whitelisted public IP in your FileList profile so that you can use *arr type aplications if your IP is dynamic.

Keep in mind that you cannot restart the container, you need to rebuild it with setup.sh because the credentials are not persistent for security reasons. See last section.

How to build and run

Make sure you have docker installed and that your current user can issue docker commands.
https://docs.docker.com/engine/install/linux-postinstall/

mkdir ~/your_preferred_folder/
cd ~/your_preferred_folder/
git clone https://github.com/DevilRange/filelist-api-whitelist/
cd ~/your_preferred_folder/filelist-api-whitelist/
chmod u+x setup.sh
./setup.sh

How to see container logs

docker logs -f filelist-api

How to fix if you mistype your credentials or if you need to restart

docker rm -f filelist-api
docker prune -a
cd ~/your_preferred_folder/filelist-api-whitelist/
./setup.sh

Contributing

Big thanks to Mnml
Feel free to contribute or report bugs.

About

This is a python script for changing the whitelisted IP for FileList API automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 89.1%
  • Shell 8.5%
  • Dockerfile 2.4%