# 🤖 \[BOT\] Udemy Course Grabber 2021

**URL:** <https://onehack.st/t/bot-udemy-course-grabber-2021/164523>\
**Category:** Tools & Scripts\
**Tags:** learning, tools, programming, freebies\
**Created:** [December 1, 2020, 11:14am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523 "2020-12-01T11:14:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Techtanic](https://onehack.st/user_avatar/onehack.st/techtanic/32/92090_2.png) [@Techtanic](https://onehack.st/u/Techtanic)\
**Post date:** [December 1, 2020, 11:14am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/1 "2020-12-01T11:14:56Z")

</div>

# 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](http://github.com/techtanic/udemy-Course-Grabber)  
[Udemy-Course-Grabber-x64 bit (github.com)](https://github.com/techtanic/Udemy-Course-Grabber/releases)

> # 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](http://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](https://techtanic.github.io/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.

---

<div class="post-metadata">

**Author:** ![Sag](https://onehack.st/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@Sag](https://onehack.st/u/Sag)\
**Post date:** [December 1, 2020, 11:45am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/2 "2020-12-01T11:45:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [December 1, 2020, 11:48am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/3 "2020-12-01T11:48:31Z")

</div>



---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [December 1, 2020, 11:50am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/4 "2020-12-01T11:50:32Z")

</div>

Thanks @Techtanic It really deserved to get pinned ❤

Cheers and thanks for contributing!

---

<div class="post-metadata">

**Author:** ![Techtanic](https://onehack.st/user_avatar/onehack.st/techtanic/32/92090_2.png) [@Techtanic](https://onehack.st/u/Techtanic)\
**Post date:** [December 1, 2020, 11:51am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/5 "2020-12-01T11:51:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![L4zy\_H4x0r](https://onehack.st/user_avatar/onehack.st/l4zy_h4x0r/32/30812_2.png) [@L4zy\_H4x0r](https://onehack.st/u/L4zy_H4x0r)\
**Post date:** [December 1, 2020, 11:59am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/6 "2020-12-01T11:59:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Garb](https://onehack.st/letter_avatar_proxy/v4/letter/g/f6c823/32.png) [@Garb](https://onehack.st/u/Garb)\
**Post date:** [December 1, 2020, 12:10pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/7 "2020-12-01T12:10:55Z")

</div>

This actually works really well. Thanks

---

<div class="post-metadata">

**Author:** ![Techtanic](https://onehack.st/user_avatar/onehack.st/techtanic/32/92090_2.png) [@Techtanic](https://onehack.st/u/Techtanic)\
**Post date:** [December 1, 2020, 12:17pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/8 "2020-12-01T12:17:40Z")

</div>

This is my progress after 2 weeks of using it

 ![image](https://onehack.st/uploads/default/original/3X/e/4/e4c81690cdd6bda81df32d7f7ac51d86b37b2fa4.png)

---

<div class="post-metadata">

**Author:** ![Sahir\_Tailhani](https://onehack.st/user_avatar/onehack.st/sahir_tailhani/32/77403_2.png) [@Sahir\_Tailhani](https://onehack.st/u/Sahir_Tailhani)\
**Post date:** [December 1, 2020, 1:16pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/9 "2020-12-01T13:16:36Z")

</div>

Tanks for amazing, tool!

---

<div class="post-metadata">

**Author:** ![Dhananjay\_Navlani](https://onehack.st/user_avatar/onehack.st/dhananjay_navlani/32/57033_2.png) [@Dhananjay\_Navlani](https://onehack.st/u/Dhananjay_Navlani)\
**Post date:** [December 1, 2020, 1:40pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/10 "2020-12-01T13:40:02Z")

</div>

Great share! keep it up .

---

<div class="post-metadata">

**Author:** ![salam13](https://onehack.st/user_avatar/onehack.st/salam13/32/37424_2.png) [@salam13](https://onehack.st/u/salam13)\
**Post date:** [December 1, 2020, 6:47pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/12 "2020-12-01T18:47:06Z")

</div>

Please does this works for any courses?

---

<div class="post-metadata">

**Author:** ![LanguageISfree](https://onehack.st/user_avatar/onehack.st/languageisfree/32/20179_2.png) [@LanguageISfree](https://onehack.st/u/LanguageISfree)\
**Post date:** [December 1, 2020, 7:22pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/13 "2020-12-01T19:22:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sfhussain8](https://onehack.st/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@sfhussain8](https://onehack.st/u/sfhussain8)\
**Post date:** [December 1, 2020, 7:39pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/14 "2020-12-01T19:39:33Z")

</div>

Thank you for the great share. Just unbelievable 👍

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.

---

<div class="post-metadata">

**Author:** ![Ben\_Qotsa2017](https://onehack.st/user_avatar/onehack.st/ben_qotsa2017/32/15914_2.png) [@Ben\_Qotsa2017](https://onehack.st/u/Ben_Qotsa2017)\
**Post date:** [December 1, 2020, 7:40pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/15 "2020-12-01T19:40:31Z")

</div>

do you run it every day?

---

<div class="post-metadata">

**Author:** ![Basic\_Pluto](https://onehack.st/user_avatar/onehack.st/basic_pluto/32/81642_2.png) [@Basic\_Pluto](https://onehack.st/u/Basic_Pluto)\
**Post date:** [December 1, 2020, 7:50pm UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/16 "2020-12-01T19:50:27Z")

</div>

Goated Post Thank you

---

<div class="post-metadata">

**Author:** ![Sag](https://onehack.st/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@Sag](https://onehack.st/u/Sag)\
**Post date:** [December 2, 2020, 12:31am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/17 "2020-12-02T00:31:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Amrit\_Tiwarie](https://onehack.st/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@Amrit\_Tiwarie](https://onehack.st/u/Amrit_Tiwarie)\
**Post date:** [December 2, 2020, 3:27am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/18 "2020-12-02T03:27:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Safdar\_Awn](https://onehack.st/user_avatar/onehack.st/safdar_awn/32/82511_2.png) [@Safdar\_Awn](https://onehack.st/u/Safdar_Awn)\
**Post date:** [December 2, 2020, 3:50am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/19 "2020-12-02T03:50:27Z")

</div>

Wow Thanks Bro

---

<div class="post-metadata">

**Author:** ![Billz](https://onehack.st/user_avatar/onehack.st/billz/32/76856_2.png) [@Billz](https://onehack.st/u/Billz)\
**Post date:** [December 2, 2020, 4:20am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/20 "2020-12-02T04:20:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![EVIL\_GOD](https://onehack.st/letter_avatar_proxy/v4/letter/e/e19adc/32.png) [@EVIL\_GOD](https://onehack.st/u/EVIL_GOD)\
**Post date:** [December 2, 2020, 6:59am UTC](https://onehack.st/t/bot-udemy-course-grabber-2021/164523/21 "2020-12-02T06:59:12Z")

</div>

[\*] 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

[Next page](https://onehack.st/t/bot-udemy-course-grabber-2021/164523.md?page=2)
