Nathans-MacBook-Pro:Xiaomi-cloud-tokens-extractor-master nathanmassey$ python3 token_extractor.py /Users/nathanmassey/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn( Traceback (most recent call last): File "/Users/nathanmassey/Downloads/Xiaomi-cloud-tokens-extractor-master/token_extractor.py", line 35, in <module> parser.add_argument("-l", "--log_level", required=False, help="Log level", default="CRITICAL", choices=list(logging.getLevelNamesMapping().keys())) AttributeError: module 'logging' has no attribute 'getLevelNamesMapping'
Nathans-MacBook-Pro:Xiaomi-cloud-tokens-extractor-master nathanmassey$ python3 token_extractor.py /Users/nathanmassey/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn( Traceback (most recent call last): File "/Users/nathanmassey/Downloads/Xiaomi-cloud-tokens-extractor-master/token_extractor.py", line 35, in <module> parser.add_argument("-l", "--log_level", required=False, help="Log level", default="CRITICAL", choices=list(logging.getLevelNamesMapping().keys())) AttributeError: module 'logging' has no attribute 'getLevelNamesMapping'