Fedi Block API improved
I have improved the #python script "Fedi Block API" a lot by encapsulating some repeated queries in fetch_blocks.py
and also by making all SQL keywords upper-case. Plus I added unique keys to instances.domain
and instances.hash
as because of some people obfuscate their block list with *. It still will throw tons of errors on you and CONTINUES (sick!) with them. I will later put some try
blocks around the SQL execution so at least it will abort there then (sys.exit()
).
If you like, you can use it and change the message I put in bottom of but that's also subject to be changed (into configuration file).
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •