r/selenium • u/UtopianCorps • Sep 23 '20
I made a Python bot that scrapes Udemy Coupons and then AUTOMATICALLY ENROLLS YOU to those PAID COURSES for FREE. Check out the GitHub below to get the code! :) Do Star & Fork the repository if you like it!
Get and fork the code here: https://github.com/aapatre/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE
Watch the bot in action here: https://www.youtube.com/watch?v=IW8CCtv2k2A
2
u/dykstraAlgorithm Sep 23 '20
You should see if you can try using webdrivermanager for py.
I think it's pip install webdrivermanager. This way you don't have to worry about downloading the right driver for each browser version you are using.
1
u/UtopianCorps Sep 24 '20
Woah! Thanks for the info, cause I was honestly thinking about a workaround for the webdriver installation procedure! :)
1
u/dykstraAlgorithm Sep 24 '20
Cheers. This is really good. I will try and fork ur repo today and see.
1
1
u/chrizzit Sep 23 '20
Very cool. I am learning Python and Selenium so I will be happy to learn from your code. Thanks for sharing!
2
1
Sep 23 '20
Curious as to the purpose of using beautifulSoup over the built in Selenium methods?
1
u/UtopianCorps Sep 24 '20
This is my first interaction with automation and web-scraping so as a beginner I found BeautifulSoup quite convenient.
1
u/Nathuphoon Sep 24 '20
Very cool work bro, i was also thinking of making almost something similar, the captcha problem you can also automate by using free captcha solving apis :).
1
u/UtopianCorps Sep 24 '20
They have captcha solving service too? Woah! Thanks a lot, will try that! :)
2
u/carlosraf20 Sep 23 '20
Thanks for Sharing!