Removed generator to migrate to another branch
This commit is contained in:
parent
f0efeb63c4
commit
505bf6db3e
3 changed files with 0 additions and 17 deletions
|
@ -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')
|
|
|
@ -1,3 +0,0 @@
|
||||||
pip install -r requirements.txt
|
|
||||||
echo SW_KEY=APIKEY >> config.env # put your api key here
|
|
||||||
python main.py
|
|
|
@ -1,2 +0,0 @@
|
||||||
python-dotenv
|
|
||||||
spamwatch
|
|
Loading…
Add table
Add a link
Reference in a new issue