Traceback (most recent call last):


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

main()


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

udemy.ExtractAndDownload()


 "udemy-dl.py", line 286, in ExtractAndDownload

videos_dict = self.clean_dict(extract_info.real_extract(self.url, course_name, course_path))


 "/home/ec2-user/udemy-dl/udemy/_extractor.py", line 221, in real_extract

course_id = self._regex_course_id(url)


 "/home/ec2-user/udemy-dl/udemy/_extractor.py", line 137, in _regex_course_id

course_id = unescapeHTML(_search_simple_regex(r'(?<=&quot;id&quot;:\s)(\d+)',webpage).group())
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):


 "/home/jan/devel/unix/xonsh/xonsh/proc.py", line 1737, in wait

r = self.f(self.args, stdin, stdout, stderr, spec, spec.stack)


 "/home/jan/devel/unix/xonsh/xonsh/proc.py", line 1232, in proxy_two

return f(args, stdin)


 "/home/jan/devel/unix/xonsh/xonsh/xontribs.py", line 203, in xontribs_main

return _MAIN_XONTRIB_ACTIONS[ns.action](ns)


 "/home/jan/devel/unix/xonsh/xonsh/xontribs.py", line 123, in _load

xontribs_load(ns.names, verbose=ns.verbose)


 "/home/jan/devel/unix/xonsh/xonsh/xontribs.py", line 115, in xontribs_load

update_context(name, ctx=ctx)


 "/home/jan/devel/unix/xonsh/xonsh/xontribs.py", line 64, in update_context

modctx = xontrib_context(name)


 "/home/jan/devel/unix/xonsh/xonsh/xontribs.py", line 28, in xontrib_context

m = importlib.import_module(spec.name)


 "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 674, in exec_module


 "/home/jan/devel/unix/xonsh/xonsh/imphooks.py", line 123, in get_code

code = execer.compile(src, glbs=ctx, locs=ctx)


 "/home/jan/devel/unix/xonsh/xonsh/execer.py", line 135, in compile

tree = self.parse(input, ctx, mode=mode, filename=filename, transform=transform)


 "/home/jan/devel/unix/xonsh/xonsh/execer.py", line 95, in parse

tree, input = self._parse_ctx_free(input, mode=mode, filename=filename)


 "/home/jan/devel/unix/xonsh/xonsh/execer.py", line 223, in _parse_ctx_free

debug_level=(self.debug_level > 2),


 "/home/jan/devel/unix/xonsh/xonsh/parsers/base.py", line 543, in parse

tree = self.parser.parse(input=s, lexer=self.lexer, debug=debug_level)


 "/home/jan/devel/unix/xonsh/xonsh/ply/ply/yacc.py", line 335, in parse

return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)


 "/home/jan/devel/unix/xonsh/xonsh/ply/ply/yacc.py", line 1122, in parseopt_notrack

p.callable(pslice)


 "/home/jan/devel/unix/xonsh/xonsh/parsers/base.py", line 2161, in p_factor_unary

op = self._factor_ops[p1.value]()
AttributeError: 'str' object has no attribute 'value'
