Traceback (most recent call last):


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2308, in _real_extract

doc = compat_etree_fromstring(webpage.encode('utf-8'))


 "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2542, in compat_etree_fromstring

doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))


 "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2531, in _XML

parser.feed(text)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed

self._raiseerror(v)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror

raise err
ParseError: not well-formed (invalid token): line 59, column 17

Flask Traceback (most recent call last):


 "C:\myproject\auth.py", line 26, in user_token

verify_jwt_in_request()


 "C:\myproject\venv\lib\site-packages\flask_jwt_extended\view_decorators.py", line 32, in verify_jwt_in_request

jwt_data, jwt_header = _decode_jwt_from_request(request_type='access')


 "C:\myproject\venv\lib\site-packages\flask_jwt_extended\view_decorators.py", line 293, in _decode_jwt_from_request

encoded_token, csrf_token = get_encoded_token_function()


 "C:\myproject\venv\lib\site-packages\flask_jwt_extended\view_decorators.py", line 277, in <lambda>

lambda: _decode_jwt_from_cookies(request_type))


 "C:\myproject\venv\lib\site-packages\flask_jwt_extended\view_decorators.py", line 232, in _decode_jwt_from_cookies

raise CSRFError("Missing CSRF token")
flask_jwt_extended.exceptions.CSRFError: Missing CSRF token
