-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When I try to grab some courses I get the above error. This is one of the courses it happens with;
Traceback (most recent call last):
File "/home/anthony/skillsharedownloader/ss.py", line 11, in <module>
dl.download_course_by_url(course_url)
File "/home/anthony/skillsharedownloader/downloader.py", line 36, in download_course_by_url
self.download_course_by_class_id(m.group(1))
File "/home/anthony/skillsharedownloader/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
Metadata
Metadata
Assignees
Labels
No labels