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

Can not able to get course list , TypeError: 'NoneType' object is not iterable #54

Closed Dragon0708 closed 4 years ago

Dragon0708 commented 4 years ago

python acloud-dl.py -c file.txt --info

          __                __          ____

__/ /_ ____/ / __/ / / / `/ _/ / \/ / / / // / / / // / // / // / // / // /____/ // / / _,_/_//___/\,/_,_/ \,//

                             Version : 0.1
                             Author  : Nasir Khan (r0ot h3x49)
                             Github  : https://github.com/r0oth3x49

Traceback (most recent call last):es information .. 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 31, in course_list_down courses = acloud.courses(cookies=self.cookies) File "C:\acloud-dl-master\acloud_acloud.py", line 35, in courses return CloudGuru(cookies, basic, callback).courses File "C:\acloud-dl-master\acloud_internal.py", line 46, in init super(InternCloudGuruCourses, self).init(*args, **kwargs) File "C:\acloud-dl-master\acloud_shared.py", line 56, in init self._fetch_courses() File "C:\acloud-dl-master\acloud_internal.py", line 55, in _fetch_courses self._courses = [InternCloudGuruCourseDownload(c, self) for c in courses] TypeError: 'NoneType' object is not iterable

r0oth3x49 commented 4 years ago

what's inside file.txt? would you like to explain the issue properly, i will close the issue if i don't get reply by tomorrow.

Dragon0708 commented 4 years ago

@r0oth3x49 Thanks , It's working now.