Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

This is a python script for changing the whitelisted IP for FileList API automatically running in a docker container

License

Notifications You must be signed in to change notification settings

rursache/filelist-api-whitelist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filelist API Whitelist

A simple script that will keep your public IP updated in your Filelist profile so you can keep accessing the API via Prowlarr.

The docker image supports amd64, arm64 and arm/v6/v7 archs

How to run

Python

git clone https://github.com/rursache/filelist-api-whitelist
pip install -r requirements.txt
python filelist_whitelist_ip.py -FL_USERNAME "USER" -FL_PASSWORD "PASS" -FL_CHECK_DELAY 900

Docker CLI

docker run -d \
  --name filelist-api-whitelist \
  --restart unless-stopped \
  -e TZ=Europe/Bucharest \
  -e FL_USERNAME="USER" \
  -e FL_PASSWORD="PASS" \
  -e FL_CHECK_DELAY=900 \
  ghcr.io/rursache/filelist-api-whitelist:latest

Docker Compose

version: '3.2'
services:
  filelist-api-whitelist:
    image: ghcr.io/rursache/filelist-api-whitelist:latest
    container_name: filelist-api-whitelist
    environment:
      TZ: Europe/Bucharest
      FL_USERNAME: "USER"
      FL_PASSWORD: "PASS"
      FL_CHECK_DELAY: 900
    restart: unless-stopped

Note

FL_CHECK_DELAY is the delay between checks in seconds

Acknowledgements

Based upon DevilRange and ihatethecloud's python implementations

LICENSE

This repo is available under the GNU General Public License v3.0. See the LICENSE file for more info.

About

This is a python script for changing the whitelisted IP for FileList API automatically running in a docker container

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 97.3%
  • Dockerfile 2.7%