Traceback (most recent call last):


 "udemy-dl.py", line 1187, in <module>

main()


 "udemy-dl.py", line 1183, in main

udemy.course_download(path=options.output, quality=options.quality)


 "udemy-dl.py", line 379, in course_download

course = udemy.course(self.url, self.username, self.password)


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_udemy.py", line 37, in course

return Udemy(url, username, password, basic, callback)


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_internal.py", line 44, in __init__

super(InternUdemyCourse, self).__init__(*args, **kwargs)


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_shared.py", line 61, in __init__

self._fetch_course()


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_internal.py", line 61, in _fetch_course

self._chapters
=
[InternUdemyChapter(z) for z in self._info['chapters']]


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_internal.py", line 79, in __init__

self._lectures
= [InternUdemyLecture(z) for z in chapter['lectures']]


 "/Users/israel.arunah/Documents/udemy-dl/udemy-dl/udemy/_internal.py", line 97, in __init__

self._duration
= int(self._info.get('duration')) or None
TypeError: int() argument must be a string or a number, not 'NoneType'


Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 960, in send_error
self.finish()

 "/usr/local/lib/python2.7/dist-packages/notebook/base/handlers.py", line 375, in finish
return super(APIHandler, self).finish(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 934, in finish
self._log()

 "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1474, in _log
self.application.log_request(self)

 "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1936, in log_request
self.settings["log_function"](handler)

 "/usr/local/lib/python2.7/dist-packages/notebook/log.py", line 46, in log_request
log_method(json.dumps(request.headers, indent=2))

 "/usr/lib/python2.7/json/__init__.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)

 "/usr/lib/python2.7/json/encoder.py", line 209, in encode
chunks = list(chunks)

 "/usr/lib/python2.7/json/encoder.py", line 442, in _iterencode
o = _default(o)

 "/usr/lib/python2.7/json/encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <tornado.httputil.HTTPHeaders object at 0x7f0f12a7a550> is not JSON serializable