r0oth3x49 / acloud-dl

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

Getting NoneType Error in specific course #56

Closed Dragon0708 closed 4 years ago

Dragon0708 commented 4 years ago

python acloud-dl.py -c cookies.txt

[] : 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 325, in main acloud.course_download(path=options.output, quality=options.quality, download_all=options.download_all) File "acloud-dl.py", line 209, in course_download course = course.get_course(keep_alive=download_all) File "C:\acloud_shared.py", line 88, in get_course self._process_course(keep_alive=keep_alive) File "C:\acloud_internal.py", line 69, in _process_course self._course = InternCloudGuruCourse(self._info, self._session, keep_alive) File "C:\acloud_internal.py", line 79, in init super(InternCloudGuruCourse, self).init() File "C:\acloud_shared.py", line 109, in init self._fetch_course() File "C:\acloud_internal.py", line 85, in _fetch_course self._info = self._real_extract(course_id=course_id) File "C:\acloud_extract.py", line 504, in _real_extract 'lectures' : self._extract_lectures(lectures) File "C:\acloud_extract.py", line 439, in _extract_lectures streams = self._fetch_hls_streams_by_content_ids(contentid_list) File "C:\acloud_extract.py", line 326, in _fetch_hls_streams_by_content_ids _id = entry.get("contentId") AttributeError: 'NoneType' object has no attribute 'get'

trickycloud commented 4 years ago

ya, I am facing this problem also...