drknzz / auto-lingo

A Duolingo Bot for automatic XP earning
MIT License
126 stars 40 forks source link

Help #3

Open Haglerd opened 3 years ago

Haglerd commented 3 years ago

I'm lost. I been trying to figure this out for weeks. How the heck do I get it to run lesson mode. I tried just commenting out the flag in the code to make it set lessons to true, but then it errored out. I think it might be a bug on the lessons because it would open the lessons, but not start the lesson. I looked at all the documentation, but none of it helps. I tried the "usage" command, but it gets me no where. No matter where I type it in. I'm on windows 10. ` Python 3.9.6 Type "help", "copyright", "credits" or "license" for more information.

$ python auto-lingo.py File "", line 1 $ python auto-lingo.py ^ SyntaxError: invalid syntax

`

I'd just like to complete some of the lessons. So that I can get more stories :)!

Kubvv commented 3 years ago

Hello, What exactly happens after you launch the bot in learn mode? Does it click on the skill it wants to complete (after which you should see a menu with 2 buttons - practice and tips) and then stops or it just stops right after it logins in? If it is the former, then it's probably caused by the fact that duolingo recently changed the html tag of some elements from

Haglerd commented 3 years ago

Well, I haven’t been able to successfully launch the bot in learn mode from windows. That the problem. I’m not sure what command to run and how.

If I edit the code to set the learn flag to true by default instead of stories. Then run it by double clicking the main file it will open and do as you said. It gets to the pop up and then just sits there. It never clicks practice to start the lesson. I guess I’ll wait until the changes and then give it another shot at that point. Once I get some time I’ll try and Google how to run the python commands on windows because, I’m not sure why it isn’t running for me. I’m pretty positive I’ve ran them before with no problems.

Haglerd commented 2 years ago

Isn’t that just the regular run command? How does that help?

Krymancer commented 2 years ago

I think you runned python then tried in the python PLI, you have toi type the command in your system consonle, in your case i think its windows so try open cmd go to the repository folder then run python auto-lingo.py rebember that you also need the chromedriver

Dummydud3 commented 2 years ago

if your running it from cmd.exe use py python auto-lingo.py

ArthurFFGuedes commented 1 year ago

I'm not able to run the command as well, I have chromedriver and everything