Skip to content

boxxello/Udemy-Auto

Repository files navigation

Udemy-Auto - ALPHA STAGE

forthebadge

  • ALPHA IS A PRE DEVELOPMENT BRANCH!

  • ANY DEVELOPER WILLING TO CONTRIBUTE FEEL FREE TO FORK IT/OPEN PULL REQUESTS

ARE YOU BORED ABOUT SPENDING TIME TO GET BADGES ON UDEMY TO CERTIFY YOUR KNOWLEDGE? Don't worry, with the power of web-scraping and automation, this script will watch it for you and also solve boring quizzes!
Only multiple choices quizzes are addressed in the current version

In case of any bugs or issues, please open an issue.

Also, don't forget to Fork & Star the repository if you like it!

** Disclaimer & WARNINGS:

  1. Use this ONLY for Educational Purposes! By using this code you agree that I'm not responsible for any kind of trouble caused by the code.
    THIS PROJECT IS NOT AFFILIATED WITH UDEMY.
  2. Make sure web-scraping is legal in your region.
  3. This is NOT a hacking script!

** Requirements:

*** How to Install the Requirements?

Tested Python version: Python 3.10+

(Windows users only) Required Microsoft Visual C++ 14.0+ version: Microsoft Visual C++ 14.0+

alt text

You must have pip or poetry installed. Please look up how to install them in your OS.

Download a release of this project or clone the repository then navigate to the folder where you placed the files on.
Type pip install -r requirements.txt to get all the requirements installed in one go.
Similar instructions applies for poetry.


1 . Install the required packages

2 . Run the script and the cli will guide you through the settings required 3 . If you decide to save the settings they will be stored in your home directory:
Windows: C:/Users/CurrentUserName/.watcher_udemy
Linux: /home/CurrentUserName/.watcher_udemy
The values in settings.yaml should be in the same language as the site you are browsing on

4 . The script can be passed arguments:

  • --help: View full list of arguments available
  • --browser=<BROWSER_NAME>: Run with a specific browser
  • --udemybase: Run the udemy scraper only (TODO: Add functionality for free users and not business users only).
  • --max-pages=<NUMBER>: Max number of pages to scrape from sites before exiting the script (default is 5)
  • --delete-settings: Delete existing settings file
  • --delete-cookie: Delete the cookie file if it exists
  • --debug: Enable debug logging
  • --file=<name_of_the_file.txt> : Name of the file you want to scrape urls from
  • --scrape_from_file : Enable scraping from file instead of scraping from the "in progress" courses.

5 . Run the script in terminal with your target arguments once you activated the venv.

  • python udemy_watcher.py
  • python udemy_watcher.py --browser=chrome --scrape_from_file --file=file.txt

FAQs

*** 1. Can I use this script with a non business udemy acccount?
Well, short answer is NO.
Could I do with by making some minor changes to the code? Yes.

Support & Maintenance Notice

By using this repo/script, you agree that the authors and contributors are under no obligation to provide support for the script and can discontinue its development, as and when necessary, without prior notice.

About

Udemy business - all quizzes solver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages