aapatre / Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE

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

Open vikash-sharma-php opened 1 year ago

vikash-sharma-php commented 1 year ago

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:

  1. 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):

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

cullzie commented 9 months ago

@vikash-sharma-php Version 4.1.4 has been released can you please download and re-test this. Thanks