Traceback (most recent call last):


 "/opt/wsl/bin/mkdocs", line 8, in <module>

sys.exit(cli())


 "/opt/wsl/lib/python3.6/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/opt/wsl/lib/python3.6/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/opt/wsl/lib/python3.6/site-packages/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/opt/wsl/lib/python3.6/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/opt/wsl/lib/python3.6/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/__main__.py", line 134, in serve_command

livereload=livereload


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/commands/serve.py", line 119, in serve

config = builder()


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/commands/serve.py", line 114, in builder

build(config, live_server=live_server, dirty=dirty)


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/commands/build.py", line 298, in build

config['plugins'].run_event('post_build', config)


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/plugins.py", line 94, in run_event

result = method(item, **kwargs)


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/contrib/search/__init__.py", line 68, in on_post_build

search_index = self.search_index.generate_search_index()


 "/opt/wsl/lib/python3.6/site-packages/mkdocs/contrib/search/search_index.py", line 106, in generate_search_index

data = json.dumps(page_dicts, sort_keys=True, separators=(',', ':'))


 "/opt/wsl/lib/python3.6/json/__init__.py", line 238, in dumps

**kw).encode(obj)


 "/opt/wsl/lib/python3.6/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/opt/wsl/lib/python3.6/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/opt/wsl/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'date' is not JSON serializable

Traceback (most recent call last):


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

main()


 ".\udemy-dl.py", line 852, in main

udemy.ExtractAndDownload(path=outto)


 ".\udemy-dl.py", line 303, in ExtractAndDownload

self.login()


 ".\udemy-dl.py", line 40, in login

extract_info.login(self.username, self.password)


 "D:\Temp\udemy-dl-py-r00t\udemy\_extractor.py", line 147, in login

login_form
= self._fill_login_form(login_popup, username, password)


 "D:\Temp\udemy-dl-py-r00t\udemy\_extractor.py", line 98, in _fill_login_form

login_form = self._form_hidden_inputs('login-form', webpage)


 "D:\Temp\udemy-dl-py-r00t\udemy\_extractor.py", line 88, in _form_hidden_inputs

return _hidden_inputs(form)


 "D:\Temp\udemy-dl-py-r00t\udemy\_utils.py", line 80, in _hidden_inputs

html = re.sub(r'<!--(?:(?!<!--).)*-->', '', html)


 "C:\Program 
s (x86)\Python\Python36-32\lib\re.py", line 191, in sub

return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object