This is extremely bad idea. I just read
brute_force_seed. Why are you even requesting a POST with safepal, submitting your seed phrase (!!!) to them? This is not secure. Also, why isn't there indentation in your python code?
Please use either FinderOuter which comes with a friendly user interface, or
btcrecover. Open-source means that every problem has to only be solved once.
I don't post my seed at anyplace I have it on paper writed by hand, I'm totally noob programing I do it correcting what a AI do for me.