Sometimes, you need to learn how to interpret the error code.
HTTP 403 is a HTTP status code meaning access to the requested resource is forbidden for some reason. The server understood the request, but will not fulfill it due to client-related issues.
Busted, Google Colab has just been blocked the access. I believed someone has just leeched too much bandwidth, and as a consequence they blocked the IP.
what to do now?
Wait..! It may take days or weeks for the Skillshare giving the access back again.
How do you know when it is back again?
In Google Colab, try this command
!wget {skillshre_course_url}
if you see “Success” or a number of 200, you are good to go
If you see “Forbidden” or a number of 403 and IP (xxx.xxx.xxx.xxx), meaning that Google Colab is still blocked by the Skillshare
It works like charm until yesterday. But today i got this error while tryng to download
Traceback (most recent call last):
File “/root/.skillshare-1hack/dl.py”, line 50, in
main()
File “/root/.skillshare-1hack/dl.py”, line 11, in main
dl.download_course_by_url(course_url)
File “/root/.skillshare-1hack/skillshare.py”, line 29, in download_course_by_url
self.download_course_by_class_id(m.group(1))
File “/root/.skillshare-1hack/skillshare.py”, line 32, in download_course_by_class_id
data = self.fetch_course_data_by_class_id(class_id=class_id)
File “/root/.skillshare-1hack/skillshare.py”, line 69, in fetch_course_data_by_class_id
assert res.status_code == 200, ‘Fetch error, code == {}’.format(res.status_code)
AssertionError: Fetch error, code == 403
please help me i have this problem and i don’t know how to fixe it please Help Me:
Traceback (most recent call last):
File “/root/.skillshare-1hack/dl.py”, line 50, in
main()
File “/root/.skillshare-1hack/dl.py”, line 11, in main
dl.download_course_by_url(course_url)
File “/root/.skillshare-1hack/skillshare.py”, line 29, in download_course_by_url
self.download_course_by_class_id(m.group(1))
File “/root/.skillshare-1hack/skillshare.py”, line 32, in download_course_by_class_id
data = self.fetch_course_data_by_class_id(class_id=class_id)
File “/root/.skillshare-1hack/skillshare.py”, line 69, in fetch_course_data_by_class_id
assert res.status_code == 200, ‘Fetch error, code == {}’.format(res.status_code)
AssertionError: Fetch error, code == 403
Traceback (most recent call last):
File “/root/.skillshare-1hack/dl.py”, line 50, in
main()
File “/root/.skillshare-1hack/dl.py”, line 11, in main
dl.download_course_by_url(course_url)
File “/root/.skillshare-1hack/skillshare.py”, line 29, in download_course_by_url
self.download_course_by_class_id(m.group(1))
File “/root/.skillshare-1hack/skillshare.py”, line 32, in download_course_by_class_id
data = self.fetch_course_data_by_class_id(class_id=class_id)
File “/root/.skillshare-1hack/skillshare.py”, line 69, in fetch_course_data_by_class_id
assert res.status_code == 200, ‘Fetch error, code == {}’.format(res.status_code)
AssertionError: Fetch error, code == 403
It was okay but not anymore and it gives me this message when I reach to this stage
Run this Cell to Download Skillshare Course
=======
Traceback (most recent call last):
File “/root/.Skillshare-DL/dl.py”, line 33, 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 29, in download_course_by_url
self.download_course_by_class_id(m.group(1))
File “/root/.Skillshare-DL/skillshare.py”, line 32, in download_course_by_class_id
data = self.fetch_course_data_by_class_id(class_id=class_id)
File “/root/.Skillshare-DL/skillshare.py”, line 69, in fetch_course_data_by_class_id
assert res.status_code == 200, ‘Fetch error, code == {}’.format(res.status_code)
AssertionError: Fetch error, code == 403