Bro this is not a udemy course request post.
You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
Bro this is not a udemy course request post.
You need to create it and add your access_token and client_id in it.where is cookie file is open? in IDE?
access_token||client_id
thanks, brother but a something is missing in instructions like first (you have to install python?) them in cmd you paste the access token and client id ?You need to create it and add your access_token and client_id in it.
So the text file looks likeaccess_token||client_id
Ohh yahh. Thanks, I will add it in.thanks, brother but a something is missing in instructions like first (you have to install python?) them in cmd you paste the access token and client id ?
Hi @mmohamedyaser
Can you make a tutorial on how to add other website sources?
Currently, here's the Websites Available:
Discudemy
Udemy Freebies
Udemy Coupons
Real Discount
Tricks Info
Free Web Cart
Course Mania
Jojo Coupons
Online Tutorials
For e.g. I want the script to also scrape the following sites:
couponscorpion.com
100offdeal.online
udemyfreecourses.org
coursesity.com/provider/free/udemy-courses
www.guru99.com/free-udemy-course.htm
udemycoupons.me
www.onlinecourses.ooo
etc
Any help would be much appreciated.
Thanks for sharing this anyway
ONLINECOURSES = "https://www.onlinecourses.ooo/page/"
.'onlinecourses.ooo',
into total_sites array after 'Tricks Info'
.5,
in site_range after 5 elements. This is the number of pages that it will go through. Now it will go through 4 pages (given number -1).def onlinecourses(page):
links_ls = []
head = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'
} # This is the headers used to send the request, this spoof's the website that you are a normal user ;)
r = requests.get(ONLINECOURSES+ str(page), headers=head, verify=False) # this code uses the variable that we created in constants.py to send request to web server
soup = BeautifulSoup(r.content, 'html.parser') # this code parses the page into html format for python to read
all = soup.find_all('a', attrs={"rel": "bookmark", "title": True}) # this grabs all the links from that website which is about 10 links.
for index, items in enumerate(all): # once grabbing of the links are complete, a for loop is created to loop between each link. Note: indent the below lines
title = items.text #this variable takes the name of the course
url2 = items['href'] #this takes the url of each course page (eg. https://www.onlinecourses.ooo/coupon/learn-how-to-build-an-ecommerce-website-using-wordpress/)
r2 = requests.get(url2, headers=head, verify=False) # request is sent to web server for the above link
sys.stdout.write("\rLOADING URLS: " + animation[index % len(animation)]) # Just for animation
sys.stdout.flush() # Just for animation
soup1 = BeautifulSoup(r2.content, 'html.parser') # now again the page is parsed
link = soup1.find('div', 'link-holder').a['href'] # we are looking for the udemy url and saving it into the variable
links_ls.append(title + '||' + link) # here we are saving each title and link to a list that will be used for signup next. Note: Indent ends here
return links_ls # this returns the list to the function.
lambda page : onlinecourses(page),
in the new lineif site == 'Tricks Info':
, paste the below code after the end of d+=1
and make sure the indents are placed properly. if site == 'onlinecourses.ooo':
limit = 8
print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Online Courses.ooo ' + fm + sb + '<<' + fc + sd + '-------\n')
while d <= limit:
list_st = onlinecourses(d)
site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken, head)
d += 1
python3 udemy.py -c cookie.txt
Hi @buggysite
Sure lets go step by step. Some sites use redirect which would not be easy to get the links(as the udemy url is not visible for python to grab, there is a way but its not straight forward). I took an example from one of the sites that you requested.
- First go to __constants/constants.py add in a new line after TRICKSINF.
- Insert this line ->
ONLINECOURSES = "https://www.onlinecourses.ooo/page/"
.- Insert
'onlinecourses.ooo',
into total_sites array after'Tricks Info'
.- Insert
5,
in site_range after 5 elements. This is the number of pages that it will go through. Now it will go through 4 pages (given number -1).- Next go to __functions/functions.py, this is the location for adding each page's function.
- Go to line 170 and paste the below. Will explain everything in comments.
Python:def onlinecourses(page): links_ls = [] head = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' } # This is the headers used to send the request, this spoof's the website that you are a normal user ;) r = requests.get(ONLINECOURSES+ str(page), headers=head, verify=False) # this code uses the variable that we created in constants.py to send request to web server soup = BeautifulSoup(r.content, 'html.parser') # this code parses the page into html format for python to read all = soup.find_all('a', attrs={"rel": "bookmark", "title": True}) # this grabs all the links from that website which is about 10 links. for index, items in enumerate(all): # once grabbing of the links are complete, a for loop is created to loop between each link. Note: indent the below lines title = items.text #this variable takes the name of the course url2 = items['href'] #this takes the url of each course page (eg. https://www.onlinecourses.ooo/coupon/learn-how-to-build-an-ecommerce-website-using-wordpress/) r2 = requests.get(url2, headers=head, verify=False) # request is sent to web server for the above link sys.stdout.write("\rLOADING URLS: " + animation[index % len(animation)]) # Just for animation sys.stdout.flush() # Just for animation soup1 = BeautifulSoup(r2.content, 'html.parser') # now again the page is parsed link = soup1.find('div', 'link-holder').a['href'] # we are looking for the udemy url and saving it into the variable links_ls.append(title + '||' + link) # here we are saving each title and link to a list that will be used for signup next. Note: Indent ends here return links_ls # this returns the list to the function.
- All text after # is for comments
- Now open udemy.py in visual studio code or notepad++ or any text editor
- In line 24, press Enter after the comma
- Insert
lambda page : onlinecourses(page),
in the new line- The next part is extra, for people who want to select the course manually.
- Find
if site == 'Tricks Info':
, paste the below code after the end ofd+=1
and make sure the indents are placed properly. Python:if site == 'onlinecourses.ooo': limit = 8 print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Online Courses.ooo ' + fm + sb + '<<' + fc + sd + '-------\n') while d <= limit: list_st = onlinecourses(d) site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken, head) d += 1
That should be it. Just run the code the same way as before.python3 udemy.py -c cookie.txt
hello, do these codes allow us to take paid courses from udemy?Hi Everyone !
Quick update. My previous code might have stopped working.
I have updated the new script.
I have a git repo of the updated code and it seems to be functioning properly.
You can get the latest code in the below repo.
Enjoy !
Yes it does. Basically it scraps the giveaway websites for udemy coupon code.hello, do these codes allow us to take paid courses from udemy?
[*] 8 Memory Leaks 101: Your Guide to Fixing Them in Web Appshttps://www.udemy.com/course/identify-and-fix-javascript-memory-leaks/?couponCode=0E877C81BBCA65BF6B17
Coupon Expired :(
[*] 9 Print On Demand Masterclass - Shopify Store Creation in 2023https://www.udemy.com/course/print-on-demand-masterclass-shopify-store-creation-in-2022-course/?couponCode=PRINTONDEMAND23
Üst üste çok fazla istek yapıldı. Expected available in 2 seconds.
---->> Pausing execution of script for 12 seconds
[*] 10 Mastering Architectural, Night & HDR Photographyhttps://www.udemy.com/course/mastering-architectural-night-hdr-photography/?couponCode=HDRAPR2023
Coupon Expired :(
[*] 11 Introduction to International Trade Finance & Trade Serviceshttps://www.udemy.com/course/introduction-to-international-trade-finance-trade-services/?couponCode=FD529F9C571F0E3692DE
Coupon Expired :(
[*] 12 Management Consulting Presentation Essential Traininghttps://www.udemy.com/course/management-consulting-presentation-mckinsey/?couponCode=D542D1E39043D209D909
Coupon Expired :(
[*] 13 Management Consulting Skills Masteryhttps://www.udemy.com/course/management-consulting-business-strategy/?couponCode=3AE2F67361A3746796B5
Coupon Expired :(
[*] 14 Management Consulting Essential Traininghttps://www.udemy.com/course/management-consulting-problem-solving/?couponCode=40CF53A25B8BD1AA64B0
Coupon Expired :(
[*] 15 Passive Income 5 Figures - Drop Servicing from Home 2023https://www.udemy.com/course/passive-income-5-figures-drop-servicing-from-home-2022-course/?couponCode=DROPSERVICING23
Coupon Expired :(
Can you explain how we did it with a video?
I love automating things and I love programs that allow me to automate.
What does this program do for me?
It grabs multiple coupons from sites like Discudemy, Real Discount etc and signs up in udemy for them automatically.
Prerequisite:
Python for windows
If you are interested in signing up only the paid courses use the
- Run the below command to get Udemy paid coupon grabber.
git clone https://github.com/mmohamedyaser/Udemy-Paid-Courses-Grabber.git
Extract the zip file- Once cloned cd into Udemy-Paid-Courses-Grabber-master.
- Next login to you udemy account in your browser(ie. chrome).
- Right click in udemy page and click Inspect element -> click application tab -> click in the left bar cookie -> https://www.udemy.com (forgot this step )
- Create a cookie.txt file in the same folder (ie. Udemy-Paid-Courses-Grabber-master)
- Paste the access_token in cookie.txt and search for client_id in step 4.
- Paste client_id in the cookie.txt and save the file.
- To install all python requirements
pip install -r requirements.txt
- Next run to signup in all the courses
python3 udemy.py -c cookie.txt
--paid
parameter.
If you have any issues just ask me. Always here to help.
Credits to the creator: Ammey Saini
I have made some changes to the international version(USD).
If any users having issues using the indian version just ask.
Most of the coupons get expired as the author of the course choses to disable them once say 3000 students join a particular course. The number 3000 is just an example could be more or less.[*] 8 Memory Leaks 101: Your Guide to Fixing Them in Web Appshttps://www.udemy.com/course/identify-and-fix-javascript-memory-leaks/?couponCode=0E877C81BBCA65BF6B17 Coupon Expired :( [*] 9 Print On Demand Masterclass - Shopify Store Creation in 2023https://www.udemy.com/course/print-on-demand-masterclass-shopify-store-creation-in-2022-course/?couponCode=PRINTONDEMAND23 Üst üste çok fazla istek yapıldı. Expected available in 2 seconds. ---->> Pausing execution of script for 12 seconds [*] 10 Mastering Architectural, Night & HDR Photographyhttps://www.udemy.com/course/mastering-architectural-night-hdr-photography/?couponCode=HDRAPR2023 Coupon Expired :( [*] 11 Introduction to International Trade Finance & Trade Serviceshttps://www.udemy.com/course/introduction-to-international-trade-finance-trade-services/?couponCode=FD529F9C571F0E3692DE Coupon Expired :( [*] 12 Management Consulting Presentation Essential Traininghttps://www.udemy.com/course/management-consulting-presentation-mckinsey/?couponCode=D542D1E39043D209D909 Coupon Expired :( [*] 13 Management Consulting Skills Masteryhttps://www.udemy.com/course/management-consulting-business-strategy/?couponCode=3AE2F67361A3746796B5 Coupon Expired :( [*] 14 Management Consulting Essential Traininghttps://www.udemy.com/course/management-consulting-problem-solving/?couponCode=40CF53A25B8BD1AA64B0 Coupon Expired :( [*] 15 Passive Income 5 Figures - Drop Servicing from Home 2023https://www.udemy.com/course/passive-income-5-figures-drop-servicing-from-home-2022-course/?couponCode=DROPSERVICING23 Coupon Expired :(
Why does it keep giving this warning?
Coupon Expired
Sorry bro. I don't make videos yet.Can you explain how we did it with a video?
thanks bro.Sorry bro. I don't make videos yet.
You can DM me if you are facing issues. I can help you out.
i try manuel, it is working. but not work automationMost of the coupons get expired as the author of the course choses to disable them once say 3000 students join a particular course. The number 3000 is just an example could be more or less.
Ok. Can you tell me which link worked and the code showed as expired?i try manuel, it is working. but not work automation
I ran the file and waited close to 1 hour. it gave the same warning on all links.Ok. Can you tell me which link worked and the code showed as expired?
I have checked all your above links and they have expired.
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.