Want to brag about having a lot of Udemy courses? Then UdemyEnrollEverywhere is what you need! It searches for coupons, and adds the corresponding courses to your account!
Please answer the poll! Else, at night, when I'm not able to sleep, I'll ask myself if my script is working for everyone or not...
- Python 3.6+
- Chrome
- A Udemy account
- C++ Build Tools
To install needed modules, do
pip3 install -r requirements.txt
If any error pops up, try
pip install -r requirements.txt
If you already are logged in on Firefox or Chrome, simply do
python3 main.py
If you are not logged in, or if you want to login manually for whatever reason, do
python3 main.py --client_id="<Your client ID>" --access_token="<Your access token>"
Ask your grandma to bake them or bake them yourself
- Visit Udemy and login if you're not already logged-in
- Open Developer Tools(
F12
orCtrl-Shift-I
). If on Chrome, after opening DevTools, go to theApplication
tab - Open the dropdown of the
Cookies
option - Click on the Udemy landing page URL(https://www.udemy.com for those not following)
- Then, note the values of
access_token
andclient_id
That's it!
-
Scrape coupons from more websites
- Learnviral
- Discudemy
- Real.discount
- allmycourses
If you know such websites, that are not using Javascript preferably, please open an issue and tell me about it!
-
Make it use Firefox if Chrome cannot be used
-
Add a system to get and keep track of your courses, so that it won't try adding them again
-
Add more things to the Todo section of my README
AmmeySaini did a very interesting, similar project, only using requests. I'd like to say that no idea(except using cookies to login) is taken from him. I even saw that we were both using browser_cookie3 to get the cookies from the browsers!
This project idea was given to me in an issue of my other Udemy project, UdemyCourseGrabber.