Amir

Results 1 comments of Amir

if "text" in json_event: try: # Декодируем URL-encoded строку decoded_text = urllib.parse.unquote(json_event["text"]) logging.debug(f"Decoded text: {decoded_text}") # Теперь парсим как JSON json_event_data = json.loads(decoded_text) except json.JSONDecodeError as e: logging.warning(f"Failed to parse...