skillshare-downloader icon indicating copy to clipboard operation
skillshare-downloader copied to clipboard

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

Open t3rminalx opened this issue 2 years ago • 3 comments

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

t3rminalx avatar Jun 16 '22 13:06 t3rminalx

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 avatar Jul 28 '22 20:07 CodingButter

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

CodingButter avatar Jul 28 '22 21:07 CodingButter

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

CrissGill avatar Aug 31 '22 13:08 CrissGill