diff --git a/scripts/fea_post_io.php b/scripts/fea_post_io.php index ab8579b..66e8bb4 100644 --- a/scripts/fea_post_io.php +++ b/scripts/fea_post_io.php @@ -24,6 +24,8 @@ if ($action === 'get') { 'title' => $p->post_title, 'content' => $p->post_content, 'status' => $p->post_status, + 'post_type' => $p->post_type, + 'post_name' => $p->post_name, 'author' => (int)$p->post_author, ], JSON_UNESCAPED_UNICODE)); exit(0); diff --git a/scripts/minimax_tts.py b/scripts/minimax_tts.py index 39faad1..24124d5 100644 --- a/scripts/minimax_tts.py +++ b/scripts/minimax_tts.py @@ -93,7 +93,15 @@ def get_post_text(pid): check=True, capture_output=True) subprocess.run(["docker", "cp", f"{CONTAINER}:/tmp/fea_es.json", "/tmp/fea_es.json"], check=True) d = json.load(open("/tmp/fea_es.json")) - raw = re.sub(r"(?i)
|