🤖 [BOT] Udemy Course Grabber 2021

Description

Script to add all Udemy paid/free courses having coupons automatically to your Udemy account
If you have windows 64 bit just download exe and run it

Requirements

  • Python (2 or 3)
  • Python pip
  • Python module requests
  • Python module colorama
  • Python module bs4
  • Python module browser_cookie3

Instructions/Installation/Usage

py udemy.py
OR
python udemy.py
OR
pyton3 udemy.py

Bugs

If found raise issue

Note

Read the README.md

Links

Github
Udemy-Course-Grabber-x64 bit (github.com)

Disclaimer

This post is provided to help you and for personal use only. Sharing the content of your subscribed materials and the other purchased content is strictly prohibited under 1Hack Terms of Use.

By using this provided material the website 1Hack.us is not responsible for any law infringement caused by the users of this material.

Update v3.6

  • Changed Name to Discounted Udemy Course Enroller (DUCE)
  • Added IDownloadCoupons
  • Added Stay logged-in option
  • Added stats at the end of each run
  • Fixed CourseVania
  • Changed config.json to duce-settings.json
  • Made enrolling faster
    DUCE

Note: Keep the exe in a folder.

Changed

  • Threaded link scraping.
  • Moved all functions to one file.

Added

  • Tutorialbar.com.
  • Category filter
  • Language filter
  • Save filter and sites
  • Progress bar to while scraping.
  • Progress bar while Enrolling.
  • Icon Base-64.
95 Likes

I’ve already tried this ones and this one is pretty easy the one thing that make me confuse is how you get your udemy cookie, ud_cache_user. Can someone help me?

7 Likes

Thanks @Techtanic It really deserved to get pinned :heart:

Cheers and thanks for contributing!

24 Likes

This does not need cookies
Just make sure that u are logged in to udemy on chrome

Thank you bro. It will save me a lot of time.

This actually works really well. Thanks

1 Like

This is my progress after 2 weeks of using it

5 Likes

Tanks for amazing, tool!

Great share! keep it up .

Please does this works for any courses?

2 Likes

Thanks for the Bot. But one thing want to know. Will udemy allow this. Will they ban us if they find out.

Thank you for the great share. Just unbelievable :+1:

Is this for Windows alone or for Macbook as well?

I have installed all the modules as per “Requirements”, after that unable to proceed.

I got below errors.

path:~ xxxxxx$ pip install -r requirements.txt

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

path:~ xxxxxx$ pip install pyton3 udemy.py

ERROR: Could not find a version that satisfies the requirement pyton3

ERROR: No matching distribution found for pyton3

Please help.

do you run it every day?

Goated Post Thank you

Are you asking about my post? Or this post?
If this post, if you cant find the requirements.txt, Then open the requirements.txt and see a list of thing like colorama, browser_cookie3, Requests, etc. Then open command prompt and do pip install a thing in the list like pip install colorama, pip install requests, etc

Also to execute the udemy.py file do python not python3 like python udemy.py
Also python3 is not a thing. Its only a part of the python i guess
Hope this is useful for your issues

Yes please, I also wanna know if they allow?
It uses coupon but still …

Wow Thanks Bro

You must be hardworking to do this. Good learning. Thank you

[*] Auto login failed!!, try by adding cookie file using “py udemy.py -c cookie_file.txt”
name ‘exit’ is not defined
Traceback (most recent call last):
File “udemy.py”, line 198, in fetch_cookies
File “browser_cookie3_init_.py”, line 502, in load
File “browser_cookie3_init_.py”, line 492, in firefox
File “browser_cookie3_init_.py”, line 347, in init
File “browser_cookie3_init_.py”, line 414, in find_cookie_file
File “browser_cookie3_init_.py”, line 376, in get_default_profile
File “configparser.py”, line 697, in read
File “configparser.py”, line 1017, in _read
File “c:\users\melvi\appdata\local\programs\python\python38\lib\codecs.py”, line 322, in decode
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “udemy.py”, line 279, in main
File “udemy.py”, line 202, in fetch_cookies
NameError: name ‘exit’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “udemy.py”, line 324, in
File “udemy.py”, line 321, in main
NameError: name ‘exit’ is not defined
[4796] Failed to execute script udemy

what shld i do now
im a noob i know nothing abt python

1 Like