{"id":413,"date":"2021-07-28T17:47:59","date_gmt":"2021-07-28T09:47:59","guid":{"rendered":"https:\/\/egonlin.com\/?p=413"},"modified":"2024-05-09T18:48:58","modified_gmt":"2024-05-09T10:48:58","slug":"expect%e8%87%aa%e5%8a%a8%e4%ba%a4%e4%ba%92","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=413","title":{"rendered":"expect\u81ea\u52a8\u4ea4\u4e92"},"content":{"rendered":"<h1>expect<\/h1>\n<h2>\u4e00 expect\u4ecb\u7ecd<\/h2>\n<p>\u200b <code>expect<\/code>\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u7528\u6765\u5b9e\u73b0\u81ea\u52a8\u7684\u4ea4\u4e92\u5f0f\u4efb\u52a1\uff0c\u800c\u65e0\u9700\u4eba\u4e3a\u5e72\u9884\u3002\u8bf4\u767d\u4e86\uff0c<code>expect<\/code>\u5c31\u662f\u4e00\u5957\u7528\u6765\u5b9e\u73b0\u81ea\u52a8\u4ea4\u4e92\u529f\u80fd\u7684\u8f6f\u4ef6\u3002\u9700\u8981\u5b89\u88c5<\/p>\n<pre><code class=\"language-python\">yum install -y expect<\/code><\/pre>\n<p><strong>expect\u57fa\u7840<\/strong><\/p>\n<p>\u5728\u4f7f\u7528<code>expect<\/code>\u65f6\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u548c\u4ee5\u4e0b\u56db\u4e2a\u547d\u4ee4\u6253\u4ea4\u9053\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>spawn<\/td>\n<td>\u542f\u52a8\u65b0\u7684\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>expect<\/td>\n<td>\u4ece\u8fdb\u7a0b\u63a5\u6536\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>send<\/td>\n<td>\u7528\u4e8e\u5411\u8fdb\u7a0b\u53d1\u9001\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>interact<\/td>\n<td>\u5141\u8bb8\u7528\u6237\u4ea4\u4e92<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li><code>spawn<\/code>\u547d\u4ee4\u7528\u6765\u542f\u52a8\u65b0\u7684\u8fdb\u7a0b\uff0c<code>spawn<\/code>\u540e\u7684<code>expect<\/code>\u548c<code>send<\/code>\u547d\u4ee4\u90fd\u662f\u548c\u4f7f\u7528<code>spawn<\/code>\u542f\u52a8\u7684\u65b0\u8fdb\u7a0b\u8fdb\u884c\u4ea4\u4e92\u3002<\/li>\n<li><code>expect<\/code>\u901a\u5e38\u7528\u6765\u7b49\u5f85\u4e00\u4e2a\u8fdb\u7a0b\u7684\u53cd\u9988\uff0c\u6211\u4eec\u6839\u636e\u8fdb\u7a0b\u7684\u53cd\u9988\uff0c\u518d\u4f7f\u7528<code>send<\/code>\u547d\u4ee4\u53d1\u9001\u5bf9\u5e94\u7684\u4ea4\u4e92\u547d\u4ee4\u3002<\/li>\n<li><code>send<\/code>\u547d\u4ee4\u63a5\u6536\u4e00\u4e2a\u5b57\u7b26\u4e32\u53c2\u6570\uff0c\u5e76\u5c06\u8be5\u53c2\u6570\u53d1\u9001\u5230\u8fdb\u7a0b\u3002<\/li>\n<li><code>interact<\/code>\u547d\u4ee4\u7528\u7684\u5176\u5b9e\u4e0d\u662f\u5f88\u591a\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\u4f7f\u7528<code>spawn<\/code>\u3001<code>expect<\/code>\u548c<code>send<\/code>\u548c\u547d\u4ee4\u5c31\u53ef\u4ee5\u5f88\u597d\u7684\u5b8c\u6210\u6211\u4eec\u7684\u4efb\u52a1\uff1b\u4f46\u5728\u4e00\u4e9b\u7279\u6b8a\u573a\u5408\u4e0b\u8fd8\u662f\u9700\u8981\u4f7f\u7528<code>interact<\/code>\u547d\u4ee4\u7684\uff0c<code>interact<\/code>\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u9000\u51fa\u81ea\u52a8\u5316\uff0c\u8fdb\u5165\u4eba\u5de5\u4ea4\u4e92\u3002\u6bd4\u5982\u6211\u4eec\u4f7f\u7528<code>spawn<\/code>\u3001<code>send<\/code>\u548c<code>expect<\/code>\u547d\u4ee4\u5b8c\u6210\u4e86ftp\u767b\u9646\u4e3b\u673a\uff0c\u6267\u884c\u4e0b\u8f7d\u6587\u4ef6\u4efb\u52a1\uff0c\u4f46\u662f\u6211\u4eec\u5e0c\u671b\u5728\u6587\u4ef6\u4e0b\u8f7d\u7ed3\u675f\u4ee5\u540e\uff0c\u4ecd\u7136\u53ef\u4ee5\u505c\u7559\u5728ftp\u547d\u4ee4\u884c\u72b6\u6001\uff0c\u4ee5\u4fbf\u624b\u52a8\u7684\u6267\u884c\u540e\u7eed\u547d\u4ee4\uff0c\u6b64\u65f6\u4f7f\u7528<code>interact<\/code>\u547d\u4ee4\u5c31\u53ef\u4ee5\u5f88\u597d\u7684\u5b8c\u6210\u8fd9\u4e2a\u4efb\u52a1\u3002<\/li>\n<\/ul>\n<p><strong>\u603b\u7ed3expect\u81ea\u52a8\u5e94\u7b54\u7684\u57fa\u672c\u6b65\u9aa4<\/strong><\/p>\n<pre><code class=\"language-python\">\u7b2c\u4e00\u6b65: \u8fd0\u884c\u4e00\u4e2a\u7a0b\u5e8f\u6216\u547d\u4ee4=&gt;  spawn \u547d\u4ee4\u4fe1\u606f\r\n\u7b2c\u4e8c\u6b65: \u8bc6\u522b\u4ea7\u751f\u4fe1\u606f\u5173\u952e\u5b57=&gt;  expect \u6355\u83b7\u5173\u952e\u5b57   {send  \u5e94\u7b54\u4fe1\u606f}\r\n\u7b2c\u4e09\u6b65: \u6839\u636e\u8bc6\u522b\u5173\u952e\u505a\u5904\u7406=&gt;  send  \u5e94\u7b54\u4fe1\u606f<\/code><\/pre>\n<h2>\u4e8c expect\u5b9e\u4f8b<\/h2>\n<p><span style=\"background-color: #ff0000;\"><strong><span style=\"font-size: 20px; background-color: #ff0000;\">\u5f3a\u8c03\u5bb9\u6613\u51fa\u9519\u7684\u70b9<\/span><\/strong><\/span><\/p>\n<p><span style=\"background-color: #ff0000;\"><strong><span style=\"font-size: 20px; background-color: #ff0000;\">1\u3001\u5982\u679c\u811a\u672c\u7684\u89e3\u91ca\u5668\u6307\u5b9a\u4e3a#!\/usr\/bin\/expect\uff0c\u90a3\u8c03\u7528\u65f6\u5c31\u5343\u4e07\u522b\u7528sh a.sh\u6216bash a.sh\uff0c\u800c\u662f\u5e94\u8be5\u7528.\/a.sh \u6267\u884c<\/span><\/strong><\/span><\/p>\n<p><span style=\"background-color: #ff0000;\"><strong><span style=\"font-size: 20px; background-color: #ff0000;\">2\u3001\u5339\u914d\u7684\u5b57\u7b26\u4e32\u90fd\u7528\u53cc\u5f15\u53f7\uff0c\u4e0d\u8981\u7528\u5355\u5f15\u53f7<\/span><\/strong><\/span><\/p>\n<p>\u81ea\u52a8\u5e94\u7b54\u811a\u672c<\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/expect\r\n\r\nspawn ssh root@192.168.12.20 uptime\r\n\r\nexpect \"yes\/no\"\r\nsend \"yes\\n\"\r\n\r\nexpect \"*assword\"\r\nsend \"1\\n\"\r\n\r\nexpect eof<\/code><\/pre>\n<p>\u89e3\u91ca<\/p>\n<pre><code class=\"language-python\">#1\u3001#!\/usr\/bin\/expect -f\uff1a\u4f7f\u7528expect\u6765\u89e3\u91ca\u8be5\u811a\u672c\r\n\r\n#2\u3001spwan:\r\nspawn\u662f\u8fdb\u5165expect\u73af\u5883\u540e\u624d\u53ef\u4ee5\u6267\u884c\u7684expect\u5185\u90e8\u547d\u4ee4\uff0c\u5982\u679c\u6ca1\u6709\u88c5expect\u6216\u8005\u76f4\u63a5\u5728\u9ed8\u8ba4\u7684SHELL\u4e0b\u6267\u884c\u662f\u627e\u4e0d\u5230spawn\u547d\u4ee4\u7684\u3002\u5b83\u4e3b\u8981\u7684\u529f\u80fd\u662f\u7ed9ssh\u8fd0\u884c\u8fdb\u7a0b\u52a0\u4e2a\u58f3\uff0c\u7528\u6765\u4f20\u9012\u4ea4\u4e92\u6307\u4ee4\uff1b\r\n\r\n#3\u3001expect:\r\nexpect \"*assword\"\uff1a\u8fd9\u91cc\u7684expect\u4e5f\u662fexpect\u7684\u4e00\u4e2a\u5185\u90e8\u547d\u4ee4\uff0c\u8fd9\u4e2a\u547d\u4ee4\u7684\u610f\u601d\u662f\u5224\u65ad\u4e0a\u6b21\u8f93\u51fa\u7ed3\u679c\u91cc\u662f\u5426\u5305\u542b\u201cpassword\u201d\u7684\u5b57\u7b26\u4e32\uff0c\u5982\u679c\u6709\u5219\u7acb\u5373\u8fd4\u56de\uff1b\u5426\u5219\u5c31\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u540e\u8fd4\u56de\uff0c\u8fd9\u91cc\u7b49\u5f85\u65f6\u957f\u5c31\u662f\u524d\u9762\u8bbe\u7f6e\u768430\u79d2\uff1b\r\n\r\n#4\u3001send:\r\nsend \"1\\n\"\uff1a\u5f53\u5339\u914d\u5230\u5bf9\u5e94\u7684\u8f93\u51fa\u7ed3\u679c\u65f6\uff0c\u5c31\u53d1\u9001\u5bc6\u7801\u5230\u6253\u5f00\u7684ssh\u8fdb\u7a0b\uff0c\u6267\u884c\u4ea4\u4e92\u52a8\u4f5c\uff1b<\/code><\/pre>\n<p>\u9996\u6b21\u767b\u9646\u4e4b\u540e\uff0c\u518d\u6b21\u767b\u9646\uff0c\u5c31\u4e0d\u4f1a\u51fa\u73b0yes\/no\u7684\u63d0\u793a\u4e86\uff0c\u6240\u4ee5\u4e0a\u8ff0\u811a\u672c\u518d\u6b21\u8fd0\u884c\u4f1a\u51fa\u73b0spawn \u547d\u4ee4\u51fa\u73b0\u4ea4\u4e92\u5f0f\u63d0\u95ee\u7684expect \u5339\u914d\u4e0d\u4e0a\u7684\u60c5\u51b5\uff0c\u6b64\u65f6\u811a\u672c\u4f1a\u963b\u585e\u5728\u539f\u5730\uff0c\u6211\u4eec\u53ef\u4ee5set timeout 3\u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u4e3a\u79d2\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f10\u79d2\uff0c\u4ee5\u4fdd\u969c\u811a\u672c\u8d85\u65f6\u5219\u7ed3\u675f\uff0c<\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/expect -f\r\n\r\nspawn ssh root@192.168.12.20 uptime\r\n\r\nset timeout 3  # \u67d0\u4e00\u6761expect\u8bed\u53e5\u5728\u539f\u5730\u5339\u914d\uff0c\u8d85\u8fc7\u4e863\u79d2\uff0c\u65e0\u8bba\u662f\u5426\u5339\u914d\u6210\u529f\u90fd\u4f1a\u7ee7\u7eed\u6267\u884c\u4e0b\u4e00\u6761\u6307\u4ee4\r\n\r\nexpect \"yes\/no\"\r\nsend \"yes\\n\"\r\n\r\nexpect \"*assword\"\r\nsend \"1\\n\"\r\n\r\nexpect eof<\/code><\/pre>\n<p>\u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f4\u7684\u76ee\u7684\u4ec5\u4ec5\u53ea\u662f\u4e3a\u4e86\u8ba9\u811a\u672c\u4e0d\u8981\u4e00\u76f4\u5361\u5728\u539f\u5730\uff0c\u8981\u771f\u6b63\u89e3\u51b3\u4e0a\u8ff0\u95ee\u9898\uff0c\u9700\u8981\u6539\u5199\u6210\u4e0b\u8ff0\u5f62\u5f0f<\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/expect -f\r\n\r\nspawn ssh root@192.168.12.20 hostname\r\n\r\n# \u6ce8\u610f\r\n# 1\u3001{}\u4e00\u5b9a\u8981\u6362\u884c\r\n# 2\u3001\u4e0b\u8ff0\u8bed\u53e5\u5c31\u4e00\u4e2aexpect\uff0c\u4ee3\u8868\u5339\u914d\u4e86\u4e00\u6b21\uff0c\u4f1a\u5339\u914d\u5b8c\u4e00\u884c\u5c31\u5339\u914d\u4e0b\u4e00\u884c\r\nexpect {\r\n    \"yes\/no\" {send \"yes\\r\";exp_continue}\r\n    \"*assword\" {send \"1\\n\"}\r\n}\r\n\r\nexpect eof<\/code><\/pre>\n<p>\u7ec3\u4e60<\/p>\n<pre><code class=\"language-python\">[root@aliyun ~]# cat 1.sh \r\n#!\/usr\/bin\/expect -f\r\n\r\nspawn ssh egon@127.0.0.1\r\n\r\nset timeout -1  # \u8bbe\u7f6e\u4e3a-1\u4ee3\u8868\u6c38\u4e0d\u8d85\u65f6\uff0c\u5982\u679cexpect\u6ca1\u6709\u6355\u6349\u5230\u5c31\u4e00\u76f4\u505c\u5728\u539f\u5730\r\n\r\nexpect {\r\n\"yes\/no\" {send \"yes\\n\"} \r\n}\r\n\r\nexpect {\r\n\"password\" {send \"1\\n\"}\r\n}\r\n\r\nexpect \"*egon*\"\r\nsend \"ls\\n\"\r\n\r\nexpect \"\\$\"\r\nsend \"pwd\\n\"\r\n\r\nexpect \"\\$\"\r\nsend \"exit\\n\"  # \u6ce8\u610f\u4e00\u5b9a\u8981\u8f93\u5165exit\u7ed3\u675f\u4fe1\u53f7\r\n\r\nexpect eof  # \u6700\u540e\u5173\u95ed\u5339\u914d\r\n[root@aliyun ~]# <\/code><\/pre>\n<p>interact\u4ea4\u4e92<\/p>\n<p><code>interact<\/code>\uff1a\u6267\u884c\u5b8c\u6210\u540e\u4fdd\u6301\u4ea4\u4e92\u72b6\u6001\uff0c\u628a\u63a7\u5236\u6743\u4ea4\u7ed9\u63a7\u5236\u53f0\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ef\u4ee5\u624b\u5de5\u64cd\u4f5c\u4e86\u3002\u5982\u679c\u6ca1\u6709\u8fd9\u4e00\u53e5\u767b\u5f55\u5b8c\u6210\u540e\u4f1a\u9000\u51fa\uff0c\u800c\u4e0d\u662f\u7559\u5728\u8fdc\u7a0b\u7ec8\u7aef\u4e0a\u3002<\/p>\n<pre><code class=\"language-python\">[root@egon ~]# cat test.sh \r\n#!\/usr\/bin\/expect -f\r\n\r\nspawn ssh root@192.168.12.20\r\n\r\nexpect {\r\n    \"yes\/no\" {send \"yes\\r\";exp_continue}\r\n    \"*assword\" {send \"1\\n\"}\r\n}\r\n\r\ninteract\r\n[root@egon ~]# \r\n[root@egon ~]# .\/test.sh \r\nspawn ssh root@192.168.12.20\r\nroot@192.168.12.20's password: \r\nLast login: Wed Aug 26 21:28:04 2020 from egon\r\n+--------------------------------------------+\r\n|                                            |\r\n|    \u4f60\u5f53\u524d\u767b\u5f55\u7684\u662f\u652f\u4ed8\u4e1a\u52a1\u540e\u53f0\u6570\u636e\u5e93\u670d\u52a1    |\r\n|    \u8bf7\u4e0d\u8981\u5220\u5e93                              |\r\n|                                            |\r\n+--------------------------------------------+\r\n[root@egon ~]# pwd\r\n\/root\r\n[root@egon ~]# echo \"hello\"\r\nhello\r\n[root@egon ~]# exit\r\n\u767b\u51fa\r\nConnection to 192.168.12.20 closed.\r\n[root@egon ~]# \r\n<\/code><\/pre>\n<h2>\u4e09 \u4e3aexpect\u811a\u672c\u4f20\u53c2<\/h2>\n<div id=\"rml_readmorelogin_placeholder\" style=\"position:relative;\"><div id=\"rml_fade_content\" style=\"position: absolute;\r\ntop:-10em;\r\nwidth:100%;\r\nheight:10em;\r\nbackground: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -moz-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -o-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -ms-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\"><\/div><div class=\"wpf-controller aru_rml_from_in_post\" style=\"background-color:#eeeeee;border:5px solid #cce6ff;\" id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><h2 id=\"Header\">\u67e5\u770b\u66f4\u591a<\/h2><div id=\"Message\"><p>\u8054\u7cfb\u7ba1\u7406\u5458\u5fae\u4fe1tutu19192010\uff0c\u6ce8\u518c\u8d26\u53f7<\/p>\n<\/div><div id=\"StatusBarHeader\"><\/div><form id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><input name=\"post_id\" value=\"413\" type=\"hidden\"\/><input name=\"_init_callback\" value=\"InitLogin\" type=\"hidden\"\/><input name=\"post_id\" value=\"413\" type=\"hidden\"\/><input name=\"rt_ype\" value=\"1\" type=\"hidden\"\/><input name=\"nonce\" value=\"169b412ac3\" type=\"hidden\"\/><input name=\"_wpnonce\" value=\"4f9ac12208\" type=\"hidden\"\/><input name=\"_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_proxy_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_view\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginView\" type=\"hidden\"\/><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\" width=\"400px\"><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Username:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"username\" value=\"\" type=\"text\"\/><\/td><\/tr><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Password:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"password\" value=\"\" type=\"password\"\/><\/td><\/tr><\/tbody><\/table><p class=\"wpf-table-placeholder submit\"><button class=\"wp_plugin_framework_ajax_button\" type=\"button\" style=\"background-color:#4D90FE;;color:#ffffff;;border:1px solid #3079ed;\" name=\"_event\" value=\"ButtonLogin\">Log in<\/button><\/p><\/td><td class=\"wpf-table-placeholder-input\"><\/td><\/tr><\/tbody><\/table><\/form><div id=\"ButtonStartRegister\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=register\">Register<\/a><\/div><div id=\"Link1\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=lostpassword\">Forgotten username or password?<\/a><\/div><div id=\"StatusBarFooter\"><\/div><\/div><\/div><div id=aru_remaining_content><\/div>","protected":false},"excerpt":{"rendered":"<p>expect \u4e00 expect\u4ecb\u7ecd \u200b expect\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u7528\u6765\u5b9e\u73b0\u81ea\u52a8\u7684\u4ea4\u4e92\u5f0f\u4efb\u52a1\uff0c\u800c\u65e0\u9700\u4eba\u4e3a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[69],"tags":[21,19,75,22,20],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/413"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=413"}],"version-history":[{"count":4,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions"}],"predecessor-version":[{"id":10842,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions\/10842"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}