kallqvist / skillshare-downloader

MIT License
314 stars 104 forks source link

TypeError: list indices must be integers or slices, not str #69

Open t3rminalx opened 2 years ago

t3rminalx commented 2 years ago

Traceback (most recent call last): File "/home/anthony/skillshare-downloader/skillshare-downloader/code/example.py", line 8, in <module> dl.download_course_by_url('https://www.skillshare.com/classes/Boudoir-Portrait-Retouching-for-Photographers/829829877/projects') File "/home/anthony/skillshare-downloader/skillshare-downloader/code/downloader.py", line 36, in download_course_by_url self.download_course_by_class_id(m.group(1)) File "/home/anthony/skillshare-downloader/skillshare-downloader/code/downloader.py", line 70, in download_course_by_class_id for u in data['_embedded']['units']['_embedded']['units']: TypeError: list indices must be integers or slices, not str

CodingButter commented 2 years ago

I'm experiencing the same issue. Not familiar enough with python or the current code base to resolve the issue myself. Any idea what the solution might be?

CodingButter commented 2 years ago

Fixed the issue with this pull request https://github.com/kallqvist/skillshare-downloader/pull/70

CrissGill commented 2 years ago

Hello friends if you want skill share free account just join my telegram group I am not promoting the telegram I just want to help you all guys Thank you 👍 https://t.me/SkillshareAcs