kallqvist / skillshare-downloader

MIT License
312 stars 105 forks source link

Not able to download any video except the welcome or first video #47

Open aksingh-apptio opened 4 years ago

aksingh-apptio commented 4 years ago

Traceback (most recent call last): File "/code/example.py", line 11, in dl.download_course_by_url('https://www.skillshare.com/classes/How-to-Ace-your-Exams-The-Method-to-Mastery/1787903253') File "/code/downloader.py", line 36, in download_course_by_url self.download_course_by_class_id(m.group(1)) File "/code/downloader.py", line 83, in download_course_by_class_id raise Exception('Failed to read video ID from data') Exception: Failed to read video ID from data

w3bdesign commented 4 years ago

@aksingh-apptio

  1. Check that you have installed the requirements correctly. You need to do:
pip install -r requirements.txt

or

python3 -m pip install -r requirements.txt
  1. Doublecheck that the cookie was pasted correctly.

  2. Try a different course and see if it still happens.

mikebluu commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

04anubhavv commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

mikebluu commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

If by premium account, you mean the one that is paid, yes, I'm using that. I mean, as long as I can view as many courses as I like, without limitation, I think I have the premium account.

04anubhavv commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

If by premium account, you mean the one that is paid, yes, I'm using that. I mean, as long as I can view as many courses as I like, without limitation, I think I have the premium account.

I can download any course (except few exceptions) I think you put the cookie incorrectly by the way you can try this https://www.youtube.com/watch?v=_2dOZUu-fsw It was working

04anubhavv commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

If by premium account, you mean the one that is paid, yes, I'm using that. I mean, as long as I can view as many courses as I like, without limitation, I think I have the premium account.

your cookie should look like this image

mikebluu commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

If by premium account, you mean the one that is paid, yes, I'm using that. I mean, as long as I can view as many courses as I like, without limitation, I think I have the premium account.

I can download any course (except few exceptions) I think you put the cookie incorrectly by the way you can try this https://www.youtube.com/watch?v=_2dOZUu-fsw It was working

Your method works well! I downloaded with it, it's flawless.

mikebluu commented 4 years ago

I have the same problem... already tried those written above my comment, no luck, tried 3 courses, the script only downloads the first video. It would be so useful, but when I have a 50+ videos course, the first one is really useless.

are you using a premium account for cookie?

If by premium account, you mean the one that is paid, yes, I'm using that. I mean, as long as I can view as many courses as I like, without limitation, I think I have the premium account.

your cookie should look like this image

That was the problem... I didn't copy the whole thing, now works like a charm! Thanks for your fast support, have a nice one.

sandeepthukral commented 3 years ago

I think I copied the cookie properly. I have a premium trial. I am only interested in seeing how this code works. I am facing the same issue as reported. Downloads the first video (trailer) and then stops. My cookie looks like this image

I am using the docker solution, so installing the requirements should not be an issue.

04anubhavv commented 3 years ago

I think I copied the cookie properly. I have a premium trial. I am only interested in seeing how this code works. I am facing the same issue as reported. Downloads the first video (trailer) and then stops. My cookie looks like this image

I am using the docker solution, so installing the requirements should not be an issue.

try log out and then log in and then ask cookie I think this will help

you can also see this repo https://github.com/04anubhavv/Skillshare-dl

It also contains subtitle and resource downloading