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

downloadAllCourses not working anymore? #61

Open
minyoungan opened this issue Jul 28, 2020 · 1 comment
Open

downloadAllCourses not working anymore? #61

minyoungan opened this issue Jul 28, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@minyoungan
Copy link

downloadAllCourses:true used to work, but I think it stopped working. It only downloads What would be the best way to troubleshoot?

Found 9 courses to download on this page.
Found 30 courses to download on this page.
Found 30 courses to download on this page.
.
.
.
Found a total of 15 courses to download.
@minyoungan
Copy link
Author

minyoungan commented Jul 28, 2020

I fixed mine temporarly by removing the following if condition:

        if (availableCourse.discounted_price === 0.0 || availableCourse.owned_by_reader) {
            COURSE_URL_SLUG_LIST.push(availableCourse.course_url_slug);
         }

to

        COURSE_URL_SLUG_LIST.push(availableCourse.course_url_slug);

@shihabmridha shihabmridha added the bug Something isn't working label Jul 29, 2020
@shihabmridha shihabmridha self-assigned this Jul 29, 2020
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

2 participants