import base64
# Base64编码的字符串
encoded_string = "FKr2_7g5d33ul7Cc69tnsy7ZOul9qebbf65FuhG9vtXnGyywZUdhHZvUwk5wJ0yOnIjKDxVVkOce3ze6E2VUBGluh4dEU1SpaJzyxKJ/K4W9WpBXXyC5XcmIbC6unzGYyXZ0HV/siE7fuYtrwPD6Ogj1pB1NtvQUAudY8NwW8RgxLUcBfchzEvebHAs9pfyzsY1EZYsfFn6OHoXIHY1om/vttlM/tffFpapZv*noKuiqQ6OZBuokfVIEMJ2Hm6a8SDgy1IzR4Jb4o/33fV2Bj87Kouw=="
# 解码
decoded_bytes = base64.b64decode(encoded_string)
decoded_string = decoded_bytes.decode('utf-8')
print(decoded_string)
转化正确以后应该是 Mozilla/5.0 (Linux; Android 10; SM-G973N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.181 Mobile Safari/537.36
我这样子转出来是乱码,哪里错了呢 |