Open invisible-defects opened 6 years ago
Best idea is to use builtin totp resolver - all You have to do is find totp secret (i'm sure You can find few guides online how to get it for origin) and it's gonna be generated automatically when needed.
Maybe add input_code flag to fut.Core's init?
There is already code param:
fut.Core(email, passwd, platform, code='0123512')
Make sure to pass it as string (with quotes) otherwise it's gonna be converted from 0123 to 123.
Right now I'm trying to create an autobuyer with GUI, and it's actually quite hard to deal with
code=input()
in the lib. Have to rewrite the code every time fut gets updated. Maybe addinput_code
flag tofut.Core
's__init__
? Or just remove input statement?