r0oth3x49 / acloud-dl

A cross-platform python based utility to download courses from acloud.guru for personal offline use.
MIT License
351 stars 142 forks source link

can't download python3 course #59

Closed trickycloud closed 4 years ago

trickycloud commented 4 years ago

Course 'Python 3 Scripting for System Administrators'. [*] : Downloading course information .. \Traceback (most recent call last): File "acloud-dl.py", line 332, in main() File "acloud-dl.py", line 322, in main acloud.course_list_down() File "acloud-dl.py", line 59, in course_list_down course = course.get_course(keep_alive=download_all) File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_shared.py", line 88, in get_course self._process_course(keep_alive=keep_alive) File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_internal.py", line 69, in _process_course self._course = InternCloudGuruCourse(self._info, self._session, keep_alive) File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_internal.py", line 79, in init super(InternCloudGuruCourse, self).init() File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_shared.py", line 109, in init self._fetch_course() File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_internal.py", line 85, in _fetch_course self._info = self._real_extract(course_id=course_id)
File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_extract.py", line 504, in _real_extract 'lectures' : self._extract_lectures(lectures) File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_extract.py", line 439, in _extract_lectures streams = self._fetch_hls_streams_by_content_ids(contentid_list) File "/home/tricky/Cloud-Guru/acloud-dl/acloud/_extract.py", line 326, in _fetch_hls_streams_by_content_ids _id = entry.get("contentId") AttributeError: 'NoneType' object has no attribute 'get'