Git Product home page Git Product logo

jameclear / automatic-udemy-course-enroller-get-paid-udemy-courses-for-free Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aapatre/automatic-udemy-course-enroller-get-paid-udemy-courses-for-free

0.0 0.0 0.0 133 KB

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!

License: GNU General Public License v3.0

Jupyter Notebook 63.07% Python 36.93%

automatic-udemy-course-enroller-get-paid-udemy-courses-for-free's Introduction

Automatic Udemy Course Enroller: GET PAID UDEMY COURSES for FREE

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy Coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!

The code scrapes course links and coupons from tutorialbar.com

In case of any bugs or issues, feel free to ping me on LinkedIn or Twitter

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

Video Proof:

Udemy Auto-Course-Enroller


Disclaimer & WARNINGS:

1. IMPORTANT: Make sure you have cleared any saved Debit/Credit Card info from your Browser & your Udemy account before using the script!
2. Also, the script has only been tested on the Microsoft Edge Browser but I'm pretty sure it will work on any browser that provides a webdriver for automation.
3. Make sure web-scraping is legal in your region and I'm not responsible for any kind of issue caused by the code. Also use this ONLY for Educational Purposes!
4. This is NOT a hacking script, i.e., it can't enroll you for a specific course! Instead it finds courses that provide coupon links to make the transaction free and then LEGALLY enroll you to the course!


Requirements:


Instructions

  1. Make sure to install all the requirements above.
  2. Choose either format of the code: the .py file (highly recommended) or the jupyter notebook (untested).
  3. Open the .py file in IDLE. Then click on Options->Show Line Numbers in the IDLE Menu Bar.
  4. Enter your Udemy credentials in the email & password variables on line 43 & 44 of the code.
  5. If located in the USA, enter a zipcode in the zipcode variable on line 48 of the code.
  6. Enter the location of you webdriver in the path variable on line 56.
  7. Choose the appropriate browser in the driver variable on line 57.
  8. The bot starts scraping the course links from the first All Courses page on Tutorial Bar and starts enrolling you to Udemy courses. After it has enrolled you to courses from the first page, it then moves to the next Tutorial Bar page and the cycle continues. However, you can change the starting page in the page variable on line 121. (not recommended, except when you are trying to redeem old coupons, which may or may not be valid at this point of time; But sometimes, by a stroke of luck, the coupons may still work!)

FAQs

1. Can I get a specific course for free with this script?

Unfortunately no, but let me assure you that you may be lucky enough to get a particular course for free when the instructor posts it's coupon code in order to promote it. Also, over time you would build a library of courses by running the script often and have all the required courses in your collection. In fact, I made this course after completing a Python automation course and selenium, which of course I got for free! :)

2. How the bot works?

The bot retrieves coupon links from Tutorial Bar's list to cut the prices and then uses Selenium's Browser automation features to login and enroll to the courses. Think of it this way: Epic Games & other clients like Steam provide you a handful of games each week, for free; Only in this case, we need a coupon code to make those courses free.

3. How frequently should you run the script?

Daily, at least once! If you are using it for the first time, I recommend that you allow it to scrape through all pages on Tutorial Bar (might take a few hours since there are >500 pages on the site). I've painstakingly amassed over 4000 courses in the last four years! And out of those 4000, I've only paid for 4 of these courses:

So, a mere 0.001% of courses are actually paid in my collection! Thankfully, you can get more than what I gathered in 4 years, in a matter of weeks! ๐Ÿ™Œ๐Ÿป

4. Why did I create this?

It used to be my daily habit to redeem courses and it was an extremely tedious task that took around 15 minutes, for 10 courses. And then I suddenly got the idea to automate it, after I found the automation course mentioned above. I bet, it will save your precious time too! :)

5. "Udemy has detected that I'm using automation tools to browse the website! What should I do?"

Relax! This happens when you run the script several times in a short interval of time. Solve the captcha, close the browser and the webdriver, and simply re-run the bot. Easy peasy lemon squeezy! ๐Ÿ‹๐Ÿ™ƒ

6. The code compiles successfully but it's taking too long to work! IS there any way to fix that?

Since we are heavily dependent on a third-party site to retrieve coupons links, there may be issues when the site is down. Needless to mention the connectivity issues too. If everything is working fine, you can see the courses being retrieved in the Python console/shell, which may take a while.

7. Which is the best way to run the script?

It is highly recommended to run the script using Python's IDLE IDE.
Pro-tip: Create a batch file, to launch the script instantly, using these instructions: https://datatofish.com/batch-python-script/


automatic-udemy-course-enroller-get-paid-udemy-courses-for-free's People

Contributors

aapatre avatar diflartle avatar fakeid30 avatar latelylk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.