kallqvist/skillshare-downloader

Exception: Failed to read video ID from data

mosambers opened this issue · 4 comments

Hello!

I always get after downloading the first video (the free preview) of a course, the following error:
Exception: Failed to read video ID from data

Thought that my cookie might be wrong but the free preview is also beeing downloaded without a cookie.

Need help, thank you!

I found the reason. In the API only the video_hashed_id value from the first video is returned. The video_hashed_id values of the remaining videos are null.

But unfortunately I am not able to program another method to get the hash values.

Hey, yes this sounds like an issue with your cookie as far as I can tell at least...
Usually you get this result when there is something "wrong" with the cookie, either that it is formatted wrong somehow or that the account doesn't have access to view premium content at all.

Check out my screenshots in this previous issue: #17

Can you confirm (without sharing/showing your cookie value to me or anyone else online of course) that your code is setup as in that example?

Yes, you're right.I had copied the value of the cookie skillshare_user_ in the Chrome console under application --> storage -- > cookies, which is obviously wrong.


skillshare

Many thanks for the help!

I have the same issue, I was able to download one course but not more. I checked the cookie and it's ok