Open wacns opened 9 months ago
@wacns Thanks for reporting. I have not seen this issue yet but will keep an eye on it.
@wacns Thanks for reporting. I have not seen this issue yet but will keep an eye on it.
It's probably related somehow with (The same concept and process of) 2FA.
After logging in it sends me a 6-Digit verification on my email
@wacns I think you need to disable 2FA on your account which is available under Account Security
settings.
Obviously this compromises your account in some ways but its not feasible for the script to handle 2FA at this time.
An improvement for sure would be at least to handle this case gracefully and output some useful information.
How did u add cookies?i tried so many things.this error dont seem to go away.udemy always asks for code it seems,they dont care if 2fa is active or not.
My 2FA is turned off, but I still received the 2FA email 6-Digit verification when I logged in today.
How did u add cookies?i tried so many things.this error dont seem to go away.udemy always asks for code it seems,they dont care if 2fa is active or not.你是如何添加cookie的? 我嘗試了很多東西。
"access_token": "your_access_token", "client_id": "your_client_id", "csrftoken": "your_csrftoken", modify in udemy_rest.py
I had temporarly the same problem. Solved by enabling then disabling 2FA in my account, then removing the ".cookie" file in udemy_enroller config directory.
Hope this helps
Describe the bug After I've entered all the details it prompts me to enter, the bot just terminates after getting this error. Exception in redeem courses: 'access_token'. As well as it sends a 6-Digit on my email so i can enter to complete the login process.
To Reproduce Steps to reproduce the behavior:
Expected behavior Just login successfully and enroll my account to a free courses
Screenshots
Desktop (please complete the following information):
Additional context I could resolve this problem by manually retrieving the cookies from the browser DevTools and overwriting the current cookies in the udemy_rest.py