calvinhobbes23 / Skillshare-DL

146 stars 163 forks source link

only first video gets downloaded and then shows following error, please solve it. #16

Open sauravindian opened 2 years ago

sauravindian commented 2 years ago

Downloading /content/Skillshare/jakebartlett/introduction-to-hand-drawn-animation-with-animatic/01 - intro.mp4... Video already downloaded, skipping...

Traceback (most recent call last): File "/root/.Skillshare-DL/dl.py", line 16, in main() File "/root/.Skillshare-DL/dl.py", line 11, in main dl.download_course_by_url(course_url) File "/root/.Skillshare-DL/skillshare.py", line 32, in download_course_by_url self.download_course_by_class_id(m.group(1)) File "/root/.Skillshare-DL/skillshare.py", line 72, in download_course_by_class_id raise Exception('Failed to read video ID from data') Exception: Failed to read video ID from data

d4n76 commented 2 years ago

magic.zip Unzip this file in the right path

saifullah9002 commented 2 years ago

i am having same issue. magic file works on linux but not on windows.

gives: importerror: bad magic number error

I have skillshare account, I want to use my account cookies how do I make one.

in dl.py I set cookie = "__stripe_mid=***....; so on" but still it downloads first video only

calvinhobbes23 commented 2 years ago

if someone has an account/password, I am ready to fix this here. Let me know and I will create a temporary link to share the file as before.

saifullah9002 commented 2 years ago

How about I give you cookies in JSON format?

d4n76 commented 2 years ago

if someone has an account/password, I am ready to fix this here. Let me know and I will create a temporary link to share the file as before.

I created that magic.pyc with a cookies and I tested just on linux, I don't have user/pass. Sorry

saifullah9002 commented 2 years ago

can you tell me how how paste cookies in file?

arixank commented 2 years ago

is the error resolved ? or can we help in anyway ?

saifullah9002 commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

harshsinghmp commented 2 years ago

Hey everyone, here is the link to the cookies I got on the web: https://controlc.com/f25fe4f2

if anyone can update the magic file with this then we can all resume.

Mandad123 commented 2 years ago

if someone has an account/password, I am ready to fix this here. Let me know and I will create a temporary link to share the file as before.

Thank you so much. Hope to see it soon :)

arixank commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

Got it bro

d4n76 commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

I don't know what problem thre is with my magic.pyc, for me is working well on linux, I don't know with windows and I don't know why shuold be different. Anyway someone ask the PHPSESSID value: e0239767592e0b2ac6eae676008bfdbc

moistesting commented 2 years ago

Hello - I'm a newbie. Can anyone help me? I'm running this code via colab. I'm getting the following message:

Traceback (most recent call last):
  File "/root/.Skillshare-DL/dl.py", line 16, in <module>
    main()
  File "/root/.Skillshare-DL/dl.py", line 11, in main
    dl.download_course_by_url(course_url)
  File "/root/.Skillshare-DL/skillshare.py", line 32, in download_course_by_url
    self.download_course_by_class_id(m.group(1))
  File "/root/.Skillshare-DL/skillshare.py", line 72, in download_course_by_class_id
    raise Exception('Failed to read video ID from data')
Exception: Failed to read video ID from data

Would be very cool, if anyone could help me...

Chris008x commented 2 years ago

if someone has an account/password, I am ready to fix this here. Let me know and I will create a temporary link to share the file as before.

I have the account,tell me where to give you?

Chris008x commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"

2. Then download cookie manager from chrome store, login into skillshare account and open developers console.

3. in console type document.cookie  and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

where is the cookie variable?

moistesting commented 2 years ago

When you will fix this problem calvinhobbes23? This skript was nearly perfect... missing it

mark123jesper commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

The instruction worked. Just needed to find the proper cookie manager extension to be used. There is no need for developer console. You can use the skillshare link with your logged in account directly and paste it in the cookie manager, there the PHPSESSID will be shown.

Proof that it works as of this time. image

Beyond this I woudn't be able to help as I still don't know python scripting.

mark123jesper commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

The instruction worked. Just needed to find the proper cookie manager extension to be used. There is no need for developer console. You can use the skillshare link with your logged in account directly and paste it in the cookie manager, there the PHPSESSID will be shown. Proof that it works as of this time. image Beyond this I woudn't be able to help as I still don't know python scripting.

Y can't you make a screen recording and upload

Apologies. Forgot to add the cookie manager extension to be used. But uploading a video seems to be impossible fo me right now.

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

The instruction worked. Just needed to find the proper cookie manager extension to be used. There is no need for developer console. You can use the skillshare link with your logged in account directly and paste it in the cookie manager, there the PHPSESSID will be shown. Proof that it works as of this time. image Beyond this I woudn't be able to help as I still don't know python scripting.

Next step ! I got the PHPSESSID , then what i should do ?

Good. Just follow the earlier instruction, you'll just need to edit the dl.py from the repository and you should be good to go.

mark123jesper commented 2 years ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

The instruction worked. Just needed to find the proper cookie manager extension to be used. There is no need for developer console. You can use the skillshare link with your logged in account directly and paste it in the cookie manager, there the PHPSESSID will be shown. Proof that it works as of this time. image Beyond this I woudn't be able to help as I still don't know python scripting.

Y can't you make a screen recording and upload

Apologies. Forgot to add the cookie manager extension to be used. But uploading a video seems to be impossible fo me right now.

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

The instruction worked. Just needed to find the proper cookie manager extension to be used. There is no need for developer console. You can use the skillshare link with your logged in account directly and paste it in the cookie manager, there the PHPSESSID will be shown. Proof that it works as of this time. image Beyond this I woudn't be able to help as I still don't know python scripting.

Next step ! I got the PHPSESSID , then what i should do ?

Good. Just follow the earlier instruction, you'll just need to edit the dl.py from the repository and you should be good to go. CAN YOU PLEASE BRIEF IT

These parts should be brief enough.

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

Akky222 commented 2 years ago

@mark123jesper Can you please even upload screenshots of those 2 steps

mark123jesper commented 2 years ago

@mark123jesper Can you please even upload screenshots of those 2 steps

Locate the dl.py on the repository and the content should be

import sys, os
from skillshare import Skillshare, splash
# or by class ID:
# dl.download_course_by_class_id(189505397)

def main():
    dl = Skillshare("PHPSESSID=Your PHPSESSID value")
    course_url = sys.argv[1]
    dl.download_course_by_url(course_url)

if __name__ == "__main__":
    splash()
    main()

then copy the clone link of the repository you edited and paste it on the collab notebook.

I don't think this is a permanent solution as I have made it work just once.

Akky222 commented 2 years ago

@mark123jesper Can you please even upload screenshots of those 2 steps

Locate the dl.py on the repository and the content should be

import sys, os
from skillshare import Skillshare, splash
# or by class ID:
# dl.download_course_by_class_id(189505397)

def main():
    dl = Skillshare("PHPSESSID=Your PHPSESSID value")
    course_url = sys.argv[1]
    dl.download_course_by_url(course_url)

if __name__ == "__main__":
    splash()
    main()

then copy the clone link of the repository you edited and paste it on the collab notebook.

I don't think this is a permanent solution as I have made it work just once.

I knew it ! I need screenshot of next steps

Mandad123 commented 2 years ago

We need calvinhobbes23 magic soon :)

Ribelio commented 2 years ago

@mark123jesper Can you please even upload screenshots of those 2 steps

Locate the dl.py on the repository and the content should be

import sys, os
from skillshare import Skillshare, splash
# or by class ID:
# dl.download_course_by_class_id(189505397)

def main():
    dl = Skillshare("PHPSESSID=Your PHPSESSID value")
    course_url = sys.argv[1]
    dl.download_course_by_url(course_url)

if __name__ == "__main__":
    splash()
    main()

then copy the clone link of the repository you edited and paste it on the collab notebook. I don't think this is a permanent solution as I have made it work just once.

I knew it ! I need screenshot of next steps

I would also appreciate more instructions, I am very new to github and especially collab so once I have the link to what I think is my fork of dl.py I don't know how to enter it in a way that colab can load it (tried replacing the /root/.Skillshare-DL/dl.py but it didn't work)

d4n76 commented 2 years ago

I continue to didn't undestand why you received problem with my magic.pyc. Just substitute the original one with mine.

magic.zip .

mark123jesper commented 2 years ago

I continue to didn't undestand why you received problem with my magic.pyc. Just substitute the original one with mine.

magic.zip .

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time.

d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo

pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip

Difficult?

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo

pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip

Difficult?

can I contact you via discord? That would help really a lot!! I'm using colab and I really don't know where to post etc. Hoping for a quick response Sir!

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo

pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip

Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo

pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip

Difficult?

Really don't want to annoy you. You would help me alot...

d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more.

Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more.

Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I'm searching now for 100 hours. I've downloaded the originale file and replaced the magic file... What to do know? Why you are not willing to help me?

for anyone else out there, could anyone help me please?

mostafakarim001 commented 2 years ago

I have the same problem

d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I'm searching now for 100 hours. I've downloaded the originale file and replaced the magic file... What to do know? Why you are not willing to help me?

for anyone else out there, could anyone help me please?

If you didi it, just give the command to start to download a course es.

python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I'm searching now for 100 hours. I've downloaded the originale file and replaced the magic file... What to do know? Why you are not willing to help me? for anyone else out there, could anyone help me please?

If you didi it, just give the command to start to download a course es. #python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

I I'm really embarrassed to annoy you with this every time. I downloaded the file, unzipped the magic.zip and replaced the file. Where do I enter this code? (#python3.7 dl.py) ??? Do I have to use colab or do I do it in command.exe? I do not know where to start.... please tell me step-by-step what to do... once. only once, in detail. I'm desperately searching on other platforms, I'm losing my nerve doing this....

d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I'm searching now for 100 hours. I've downloaded the originale file and replaced the magic file... What to do know? Why you are not willing to help me? for anyone else out there, could anyone help me please?

If you didi it, just give the command to start to download a course es. #python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

I I'm really embarrassed to annoy you with this every time. I downloaded the file, unzipped the magic.zip and replaced the file. Where do I enter this code? (#python3.7 dl.py) ??? Do I have to use colab or do I do it in command.exe? I do not know where to start.... please tell me step-by-step what to do... once. only once, in detail. I'm desperately searching on other platforms, I'm losing my nerve doing this....

Maybe I start to understand the problem that people have. I have a linux machine with python intalled. In this machine I unzipped the original zip from this github and I unzip my magic.zip.

So if you do the same you can use my zip file and download to your machine just using this command from the path where you are unzip the file: es.

python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

moistesting commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I'm searching now for 100 hours. I've downloaded the originale file and replaced the magic file... What to do know? Why you are not willing to help me? for anyone else out there, could anyone help me please?

If you didi it, just give the command to start to download a course es. #python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

I I'm really embarrassed to annoy you with this every time. I downloaded the file, unzipped the magic.zip and replaced the file. Where do I enter this code? (#python3.7 dl.py) ??? Do I have to use colab or do I do it in command.exe? I do not know where to start.... please tell me step-by-step what to do... once. only once, in detail. I'm desperately searching on other platforms, I'm losing my nerve doing this....

Maybe I start to understand the problem that people have. I have a linux machine with python intalled. In this machine I unzipped the original zip from this github and I unzip my magic.zip.

So if you do the same you can use my zip file and download to your machine just using this command from the path where you are unzip the file: es. #python3.7 dl.py "https://www.skillshare.com/classes/Creative-Filmmaking-Crafting-Your-Vision-for-Music-Videos/1345549692?via=member-home-SavedClassesSection"

Firstly thank you. Now I know where the problem is. I'm using windows 10. But I've found an other way. Thanks alot! :)

ghost commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more.

Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I tried it on the mac os terminal but it seems that your magic.pyc only works in linux.

python3 dl.py "https://www.skillshare.com/classes/Basic-Skills-Getting-Started-with-Drawing/637385311"
Traceback (most recent call last):
  File "/Users/myusername/Downloads/Skillshare-DL-master/dl.py", line 3, in <module>
    from magic import cookie
ImportError: bad magic number in 'magic': b'B\r\r\n'
d4n76 commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I tried it on the mac os terminal but it seems that your magic.pyc only works in linux.

python3 dl.py "https://www.skillshare.com/classes/Basic-Skills-Getting-Started-with-Drawing/637385311"
Traceback (most recent call last):
  File "/Users/myusername/Downloads/Skillshare-DL-master/dl.py", line 3, in <module>
    from magic import cookie
ImportError: bad magic number in 'magic': b'B\r\r\n'

I'm sorry, I don't have a Mac. Did you are using python 3.7? I know that it is working just with python 3.7, other version give errors but also with old version.

ghost commented 2 years ago

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Also I didn't know, what a rep

I assumed your script is already merged with the current repo. I'll try to replace it with yours once I have free time

You have to use the current repo and unzip my file substituting the old one. Almost 15 days I gave this solution to everybody but I don't have privileges to put into the original repo.

Why is it to hard for you, to capture your Screen while doing this? We are absolutely beginners in this area... Hoping for a quick response from your side d4n76

Sorry??? I have to capture my screen to show how to unzip a file and overwrite the original in the repo? Copy my zip in the path you install the repo pi@octopi:~/Skill $ ll total 56 -rw-r--r-- 1 pi pi 4537 Jan 28 13:32 'SkillshareDL[KENWAY].ipynb' -rw-r--r-- 1 pi pi 38 Jan 28 13:32 requirements.txt -rw-r--r-- 1 pi pi 879 Jan 28 13:32 README.md -rw-r--r-- 1 pi pi 326 Jan 28 13:32 dl.py -rw-r--r-- 1 pi pi 7188 Feb 17 22:37 skillshare.pyc -rw-r--r-- 1 pi pi 7767 Feb 19 21:49 skillshare.py drwxr-xr-x 2 pi pi 4096 Feb 19 21:51 pycache -rw-r--r-- 1 pi pi 1495 Feb 20 11:09 magic.pyc drwxr-xr-x 3 pi pi 4096 Mar 4 21:30 Skillshare -rw-r--r-- 1 pi pi 1044 Mar 6 10:11 magic.zip pi@octopi:~/Skill $ unzip magic.zip Difficult?

Really don't want to annoy you. You would help me alot...

I can't help you more. Download the original file from https://github.com/calvinhobbes23/Skillshare-DL Download my zip and substitute it

I tried it on the mac os terminal but it seems that your magic.pyc only works in linux.

python3 dl.py "https://www.skillshare.com/classes/Basic-Skills-Getting-Started-with-Drawing/637385311"
Traceback (most recent call last):
  File "/Users/myusername/Downloads/Skillshare-DL-master/dl.py", line 3, in <module>
    from magic import cookie
ImportError: bad magic number in 'magic': b'B\r\r\n'

I'm sorry, I don't have a Mac. Did you are using python 3.7? I know that it is working just with python 3.7, other version give errors but also with old version.

I'm using python 3.9. So maybe i need Pyhton 3.7.

Python 3.9.1 (v3.9.1:1e5d33e9b9, Dec  7 2020, 12:10:52)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Harkishen-Singh commented 2 years ago

I wrote a complete solution step by step after following the discussion here. You can find it #18. Thanks to @d4n76 for sharing magic.pyc. If you have suggestions regarding improving the issue, please comment there.

d4n76 commented 2 years ago

I wrote a complete solution step by step after following the discussion here. You can find it #18. Thanks to @d4n76 for sharing magic.pyc. If you have suggestions regarding improving the issue, please comment there.

@Harkishen-Singh Good Job!

ghost commented 2 years ago

I made it work on macOS Big Sur 11.4 with @d4n76 magic.pyc file. I downoaded Python 3.7.0 and set up my own virtual environment with virtualenv venv -p python37, then I installed all the skillshare requirements (requests, cloudscraper and slugify) but i had to install one extra, which was python-slugify.

Screen Shot 2022-03-11 at 19 28 14
CrissGill commented 2 years ago

Downloading /content/Skillshare/jakebartlett/introduction-to-hand-drawn-animation-with-animatic/01 - intro.mp4... Video already downloaded, skipping...

Traceback (most recent call last): File "/root/.Skillshare-DL/dl.py", line 16, in main() File "/root/.Skillshare-DL/dl.py", line 11, in main dl.download_course_by_url(course_url) File "/root/.Skillshare-DL/skillshare.py", line 32, in download_course_by_url self.download_course_by_class_id(m.group(1)) File "/root/.Skillshare-DL/skillshare.py", line 72, in download_course_by_class_id raise Exception('Failed to read video ID from data') Exception: Failed to read video ID from data

Same issues...... is there is anything wrong in website or in tool❓

NiteshGodara099 commented 1 year ago

document.cookie does not get complete cookies that are needed for downloading the videos.

  1. The process for getting cookies is simple. in the dl.py file remove "from magic import cookie"
  2. Then download cookie manager from chrome store, login into skillshare account and open developers console.
  3. in console type document.cookie and copy and paste it in cookie variable and click cookie manager extension and copy the value of PHPSESSID and paste inside the cookie var like this "PHPSESSID=valuehere ".

run the script and it will work.

bro i am new to github and i cant understand what you are saying can you please help me