Gaarv / kadenze-dl

Small application to download Kadenze (https://www.kadenze.com) videos for courses you enrolled in
MIT License
50 stars 16 forks source link

Access to videos in Sessions > 10 #26

Closed bullpencatcher closed 2 years ago

bullpencatcher commented 2 years ago

Hello,

I have managed to get this to work pretty well except for one thing... I am trying to download from a course with 11 sessions total. The first 10 download just fine, but the 11th session doesn't. The first 10 are all that initially appear in the browser so I imagine that has something to do with it, but I am not sure how to modify the code to get to the second list page of sessions that contains the 11th session. Any advice is greatly appreciated.

Bryan

Gaarv commented 2 years ago

Hey sure, I will take a look into it. It happens that some courses are manually edited from instructors and hence doesn't follow the expected structure. Would you have the course name, see if I can run against it ?

bullpencatcher commented 2 years ago

Thanks. Here’s the course name:

introduction-to-programming-for-the-visual-arts-with-p5-js-vi

Bryan

On May 24, 2022, at 10:43, Gaarv @.***> wrote:

Hey sure, I will take a look into it. It happens that some courses are manually edited from instructors and hence doesn't follow the expected structure. Would you have the course name, see if I can run against it ?

— Reply to this email directly, view it on GitHub https://github.com/Gaarv/kadenze-dl/issues/26#issuecomment-1136021784, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDZ5PRDAVGQ3S237CAVXJDVLTTINANCNFSM5WXB7FCA. You are receiving this because you authored the thread.

Gaarv commented 2 years ago

Tried the course, I see what you meant now. Sessions seems to be paginated (ie. page 1 of 2) when there"s more than 10 sessions. I should be able to work on this week, I will let you know when it's fixed.

Gaarv commented 2 years ago

I'm having unusual issues with this course, when other works fine, so this is going to take a little more time.

bullpencatcher commented 2 years ago

No problem. I was able to find the so files and download directly through the browser, so no rush for me. Thanks for the work on this.

On May 30, 2022, at 02:58, Gaarv @.***> wrote:

 I'm having unusual issues with this course, when other works fine, so this is going to take a little more time.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Gaarv commented 2 years ago

Should you have the need in the future, sessions > 10 should work fine now. Wasn't able to test the whole course because i requires premium access thought. I had some issues because some dependencies needed to be updated :)