Open Harkishen-Singh opened 2 years ago
You can also use MacOS for this to work, but if you have python 3.8 or older, you can create a virtual environment and download Python 3.7.0 to make it work there with its respective requirements (https://github.com/calvinhobbes23/Skillshare-DL/issues/16#issuecomment-1065756156).
Tested on MacOS BigSur 11.4
Cool It Works On Windows Too! Tried On Virtual Environment with Python 3.7 ! Wonder what's wrong on google colab !?
If you want any course I will download and send just email me - abdulu767@gmail.com
I'm a newbie and i just wanted to download this class so go easy on me :) i just follow your step but i'm still getting this error
Traceback (most recent call last):
File "dl.py", line 2, in
can you please help me to get rid of this error msg? i would really appreciate that!
I will try to write all the steps for absolute beginners as I found people in #16 struggling to get this working. Please expect this answer to be long/verbose.
Proof of working![Screenshot from 2022-03-09 09-00-30](https://user-images.githubusercontent.com/33792202/157367372-ba66640e-c7f1-4504-ac51-417df8d7987d.png)
Before we move to steps, there are some things to keep in mind:
python3.7
only! Any other version will give error. For example, I usedpython3.9
and it gave meImportError: bad magic number in 'magic': b'B\r\r\n'
, which I think happened becausemagic.pyc
was encoded inpython3.7
and binary encoding ofpython3.7
should be different thanpython3.9
. You can download python3.7 from here.magic.pyc
that contains login information for skillshare.The software can be downloaded by:
git clone github.com/calvinhobbes23/Skillshare-DL
Now you have the software. The next step is to get the login information, which is what the cookie stuff is written in #16. But thankfully, @d4n76 has shared this in this https://github.com/calvinhobbes23/Skillshare-DL/issues/16#issuecomment-1046286669. Click on that comment and download the
magic.zip
. After downloading, you need to unzip it.After unzipping
magic.zip
, open the folder and you will seemagic.pyc
. AFAIK, this is the precompiled version containing all details regarding login information. Move this file inside the downloaded software folder and replace the existingmagic.pyc
file there.Before moving to the downloading part, lets install the dependencies. For this, open the terminal in the folder where you downloaded the software and paste
python3.7 -m pip install -r requirements.txt
. This will install all dependencies required forskillshare-dl
to work.To start downloading the course, open the terminal and type in the following manner
python3.7 dl.py <complete URL of the video>
example:
This will download your course and save in
Skillshare
folder in the same folder where the software was present.If I missed any step or anything doesn't work, please let me know by via comment in this issue. I hope this helps. If this works for you, kindly ❤️ the issue so that others can know as well.