Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: issue parsing CURRICULUM_ITEMS_PARAMS #249

Open
64rl0 opened this issue Oct 21, 2024 · 2 comments
Open

[Bug]: issue parsing CURRICULUM_ITEMS_PARAMS #249

64rl0 opened this issue Oct 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@64rl0
Copy link

64rl0 commented Oct 21, 2024

What happened?

2024-10-21_11-52-40

Expected Result

parse CURRICULUM_ITEMS_PARAMS correctly

Branch

master/main

What operating systems are you seeing the problem on?

No response

Relevant log output

No response

Other information

No response

@64rl0 64rl0 added the bug Something isn't working label Oct 21, 2024
@adamparker
Copy link

this is down to some API requests dying due to the request being too large. this happened in a course with over 800 lectures.

if you change the constants.py file and the CURRICULUM_ITEMS_PARAMS value from 200 down to 50 it started to work. you can also change the value in main.py around line 860 for the est_count to divide by 50 rather than 100 for the estimated count to work.

@sparrowvivek16
Copy link

sparrowvivek16 commented Feb 20, 2025

@adamparker thanks for this suggestion, this worked initially, however after downloading some videos this error now occurs again, tried smaller values, but not working.

this is the command python main.py -c <course-url> -b <bearer-token> -q 720 --out "D:\Udemy" --id-as-course-name --continue-lecture-numbers --chapter "4-9" --download-captions -l en

PS: https://.udemy.com/course/react-the-complete-guide-incl-redux/learn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants