Removed generator to migrate to another branch

This commit is contained in:
Lucas Gabriel 2024-12-08 19:46:39 -03:00
parent f0efeb63c4
commit 505bf6db3e
3 changed files with 0 additions and 17 deletions

View File

@ -1,12 +0,0 @@
import os
from dotenv import load_dotenv
import spamwatch
load_dotenv("config.env")
client = spamwatch.Client(os.getenv('SW_KEY'))
bans = client.get_bans_min()
with open('sw_blocklist.txt', 'w') as file:
for ban in bans:
file.write(f'{ban}\n')

View File

@ -1,3 +0,0 @@
pip install -r requirements.txt
echo SW_KEY=APIKEY >> config.env # put your api key here
python main.py

View File

@ -1,2 +0,0 @@
python-dotenv
spamwatch