Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
GNU General Public License v3.0
3.17k
stars
553
forks
source link
[BUG] Unable to fetch existing courses. Login was not successful #431
Describe the bug
Scrapper isn't running. Getting error when I run the command.
python3.8 run_enroller.py --debug
I'm able to login to my udemy account manually from browser.
To Reproduce
Steps to reproduce the behavior:
Run the command: python3.8 run_enroller.py --debug
Expected behavior
Scrapper should scrape and work as it was working before.
Desktop (please complete the following information):
OS: macOS
Browser chrome
Version [e.g. 22]
Additional contextEnabled debug logging Not installed on python env. Python: 3.8.16 (default, Dec 7 2022, 01:27:54) [Clang 14.0.0 (clang-1400.0.29.202)] OS: macOS-13.3.1-arm64-i386-64bit Loading existing settings Loading cookie from file Loading existing course details HTTP error while trying to fetch Udemy information 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields[course]=@min,enrollment_time,published_title,&fields[user]=@min&page=1&page_size=100 Unable to fetch existing courses. Login was not successful Exception in redeem courses: 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields[course]=@min,enrollment_time,published_title,&fields[user]=@min&page=1&page_size=100
Describe the bug Scrapper isn't running. Getting error when I run the command. python3.8 run_enroller.py --debug I'm able to login to my udemy account manually from browser.
To Reproduce Steps to reproduce the behavior:
Expected behavior Scrapper should scrape and work as it was working before.
Desktop (please complete the following information):
Additional context
Enabled debug logging Not installed on python env. Python: 3.8.16 (default, Dec 7 2022, 01:27:54) [Clang 14.0.0 (clang-1400.0.29.202)] OS: macOS-13.3.1-arm64-i386-64bit Loading existing settings Loading cookie from file Loading existing course details HTTP error while trying to fetch Udemy information 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields[course]=@min,enrollment_time,published_title,&fields[user]=@min&page=1&page_size=100 Unable to fetch existing courses. Login was not successful Exception in redeem courses: 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields[course]=@min,enrollment_time,published_title,&fields[user]=@min&page=1&page_size=100