tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 181 forks source link

get_mfa not working with new version 0.5.6 #362

Closed aoyarceLenio closed 1 year ago

aoyarceLenio commented 1 year ago

When using this code:

username = "user@gmail.com" wb = paper_webull() mfa = wb.get_mfa(username) print(f"Results: {mfa}")

I always get "False" as return value. But if change "base_userfintech_url" from this: "https://u1suser.webullfintech.com" to this: "https://userapi.webull.com", it work again, and I received the email with the mfa code.

aoyarceLenio commented 1 year ago

the full working URL is this: https://userapi.webull.com/api/user/v1/verificationCode/send/v2 the not working is this: https://u1suser.webullfintech.com/api/user/v1/verificationCode/send/v2

tedchou12 commented 1 year ago

Yes, sorry, I think I have the same case with you. Let me check with other guys.

tedchou12 commented 1 year ago

Thanks, the 0.5.8 should work!

aoyarceLenio commented 1 year ago

thanks a lot.