Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 6-Digit Verification is breaking down the bot. #447

Open
wacns opened this issue Feb 22, 2024 · 3 comments
Open

[BUG] 6-Digit Verification is breaking down the bot. #447

wacns opened this issue Feb 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wacns
Copy link

wacns commented Feb 22, 2024

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:

  1. Run the run_enroller.py
  2. Enter the required information
  3. The bot start running
  4. It terminates with the error Exception in redeem courses: 'access_token'
  5. Sends an email that contains 6-Digit Verification

Expected behavior
Just login successfully and enroll my account to a free courses

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser I've not specified a browser
  • Version The latest version of the chosen browser by the script

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

@wacns wacns added the bug Something isn't working label Feb 22, 2024
@cullzie
Copy link
Collaborator

cullzie commented Feb 27, 2024

@wacns Thanks for reporting. I have not seen this issue yet but will keep an eye on it.

@cullzie cullzie self-assigned this Feb 27, 2024
@wacns
Copy link
Author

wacns commented Feb 27, 2024

@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

@cullzie
Copy link
Collaborator

cullzie commented Mar 8, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants