{"id":935187,"date":"2024-12-26T18:48:30","date_gmt":"2024-12-26T10:48:30","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/935187.html"},"modified":"2024-12-26T18:48:32","modified_gmt":"2024-12-26T10:48:32","slug":"python%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8securecrt","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/935187.html","title":{"rendered":"python\u5982\u4f55\u8c03\u7528securecrt"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071919\/f21bfa69-cf79-4dcb-8597-d48a27070439.webp\" alt=\"python\u5982\u4f55\u8c03\u7528securecrt\" \/><\/p>\n<p><p> <strong>Python\u8c03\u7528SecureCRT\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\u3001\u4f7f\u7528COM\u5bf9\u8c61\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8SecureCRT\u7b49\u65b9\u6cd5\u5b9e\u73b0<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u3002SecureCRT\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u7f16\u7a0b\u7684\u811a\u672c\u63a5\u53e3\uff0c\u53ef\u4ee5\u901a\u8fc7Python\u811a\u672c\u6765\u64cd\u4f5cSecureCRT\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u5355\uff0c\u800c\u4e14\u529f\u80fd\u5f3a\u5927\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u8c03\u7528SecureCRT\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3<\/p>\n<\/p>\n<p><p>SecureCRT\u63d0\u4f9b\u4e86\u4e00\u79cd\u5185\u7f6e\u7684\u811a\u672c\u8bed\u8a00\u63a5\u53e3\uff0c\u5141\u8bb8\u7528\u6237\u4f7f\u7528Python\u811a\u672c\u6765\u81ea\u52a8\u5316\u5176\u64cd\u4f5c\u3002\u4e3a\u4e86\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\uff0c\u7528\u6237\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86SecureCRT\uff0c\u5e76\u4e14\u4e86\u89e3\u5982\u4f55\u7f16\u5199\u57fa\u672c\u7684Python\u811a\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5SecureCRT\u5e76\u914d\u7f6e\u811a\u672c\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\u4e86SecureCRT\u3002\u5728\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u7528\u6237\u53ef\u4ee5\u5728SecureCRT\u4e2d\u914d\u7f6e\u811a\u672c\u73af\u5883\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0cSecureCRT\u652f\u6301Python 2.7\uff0c\u56e0\u6b64\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5\u5bf9\u5e94\u7248\u672c\u7684Python\u3002\u4e3a\u4e86\u4f7f\u7528Python\u811a\u672c\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\uff0c\u8fd8\u9700\u5728SecureCRT\u7684\u201cOptions\u201d\u83dc\u5355\u4e0b\u7684\u201cGlobal Options\u201d\u4e2d\u627e\u5230\u201cGeneral\u201d\u9009\u9879\uff0c\u5e76\u8bbe\u7f6ePython\u811a\u672c\u7684\u89e3\u91ca\u5668\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\u65f6\uff0c\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2aPython\u811a\u672c\u6765\u5b8c\u6210\u7279\u5b9a\u7684\u4efb\u52a1\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u811a\u672c\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Python\u8fde\u63a5\u5230\u4e00\u4e2aSSH\u670d\u52a1\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># $language = &quot;python&quot;<\/p>\n<h2><strong>$interface = &quot;1.0&quot;<\/strong><\/h2>\n<p>def m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n():<\/p>\n<p>    # \u83b7\u53d6SecureCRT\u7684\u4f1a\u8bdd\u5bf9\u8c61<\/p>\n<p>    session = crt.Session<\/p>\n<p>    # \u6253\u5f00\u4e00\u4e2a\u65b0\u7684SSH\u4f1a\u8bdd<\/p>\n<p>    session.Connect(&quot;\/SSH2 username@hostname&quot;)<\/p>\n<p>    # \u53d1\u9001\u547d\u4ee4\u5e76\u8bfb\u53d6\u8f93\u51fa<\/p>\n<p>    session.Send(&quot;ls -l\\n&quot;)<\/p>\n<p>    output = session.ReadString(&quot;#&quot;, 10)<\/p>\n<p>    crt.Dialog.MessageBox(output)<\/p>\n<p>main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u811a\u672c\u4e2d\uff0c\u4f7f\u7528\u4e86<code>crt.Session<\/code>\u5bf9\u8c61\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684SSH\u8fde\u63a5\uff0c\u5e76\u901a\u8fc7<code>Connect<\/code>\u65b9\u6cd5\u8fde\u63a5\u5230\u6307\u5b9a\u7684\u670d\u52a1\u5668\u3002\u4f7f\u7528<code>Send<\/code>\u65b9\u6cd5\u53d1\u9001\u547d\u4ee4\uff0c\u5e76\u4f7f\u7528<code>ReadString<\/code>\u65b9\u6cd5\u8bfb\u53d6\u8f93\u51fa\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5c06\u7f16\u5199\u597d\u7684Python\u811a\u672c\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u3002\u5728SecureCRT\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u201cScript\u201d\u83dc\u5355\u9009\u62e9\u201cRun\u201d\u6765\u8fd0\u884c\u6b64\u811a\u672c\u3002\u6267\u884c\u8fc7\u7a0b\u4e2d\uff0cSecureCRT\u4f1a\u81ea\u52a8\u6267\u884c\u811a\u672c\u4e2d\u7684\u547d\u4ee4\uff0c\u5e76\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528COM\u5bf9\u8c61\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528SecureCRT\u7684\u5185\u7f6e\u811a\u672c\u63a5\u53e3\uff0c\u7528\u6237\u8fd8\u53ef\u4ee5\u901a\u8fc7COM\u5bf9\u8c61\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5728Windows\u5e73\u53f0\u4e0a\u4f7f\u7528SecureCRT\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaCOM\u5bf9\u8c61<\/strong><\/p>\n<\/p>\n<p><p>\u5728Windows\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528Python\u7684<code>win32com.client<\/code>\u6a21\u5757\u6765\u521b\u5efaSecureCRT\u7684COM\u5bf9\u8c61\u3002\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5<code>pywin32<\/code>\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pywin32<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u53ef\u4ee5\u7f16\u5199\u5982\u4e0bPython\u4ee3\u7801\u6765\u521b\u5efaSecureCRT\u7684COM\u5bf9\u8c61\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import win32com.client<\/p>\n<p>def main():<\/p>\n<p>    # \u521b\u5efaSecureCRT\u7684COM\u5bf9\u8c61<\/p>\n<p>    crt = win32com.client.Dispatch(&quot;SecureCRT.Application&quot;)<\/p>\n<p>    # \u83b7\u53d6\u5f53\u524d\u4f1a\u8bdd<\/p>\n<p>    session = crt.ActiveSession<\/p>\n<p>    # \u6253\u5f00\u4e00\u4e2a\u65b0\u7684SSH\u4f1a\u8bdd<\/p>\n<p>    session.Connect(&quot;\/SSH2 username@hostname&quot;)<\/p>\n<p>    # \u53d1\u9001\u547d\u4ee4\u5e76\u8bfb\u53d6\u8f93\u51fa<\/p>\n<p>    session.Screen.Send(&quot;ls -l\\n&quot;)<\/p>\n<p>    output = session.Screen.ReadString(&quot;#&quot;, 10)<\/p>\n<p>    print(output)<\/p>\n<p>main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528\u4e86<code>win32com.client.Dispatch<\/code>\u65b9\u6cd5\u521b\u5efa\u4e86SecureCRT\u7684COM\u5bf9\u8c61\uff0c\u5e76\u901a\u8fc7<code>ActiveSession<\/code>\u5c5e\u6027\u83b7\u53d6\u5f53\u524d\u4f1a\u8bdd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5c06\u4e0a\u8ff0Python\u4ee3\u7801\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\uff0c\u5e76\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u8be5\u811a\u672c\u3002\u8fd9\u5c06\u8c03\u7528SecureCRT\u5e76\u6267\u884c\u811a\u672c\u4e2d\u5b9a\u4e49\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8SecureCRT<\/p>\n<\/p>\n<p><p>\u7528\u6237\u8fd8\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8SecureCRT\uff0c\u5e76\u4f20\u9012\u53c2\u6570\u4ee5\u6267\u884c\u7279\u5b9a\u7684\u64cd\u4f5c\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5e0c\u671b\u901a\u8fc7Python\u811a\u672c\u542f\u52a8SecureCRT\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2aPython\u811a\u672c\uff0c\u901a\u8fc7<code>subprocess<\/code>\u6a21\u5757\u8c03\u7528\u547d\u4ee4\u884c\u6765\u542f\u52a8SecureCRT\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>def main():<\/p>\n<p>    # SecureCRT\u7684\u5b89\u88c5\u8def\u5f84<\/p>\n<p>    securecrt_path = &quot;C:\\\\Program Files\\\\VanDyke Software\\\\SecureCRT\\\\SecureCRT.exe&quot;<\/p>\n<p>    # SSH\u8fde\u63a5\u53c2\u6570<\/p>\n<p>    hostname = &quot;hostname&quot;<\/p>\n<p>    username = &quot;username&quot;<\/p>\n<p>    # \u6784\u5efa\u547d\u4ee4\u884c\u53c2\u6570<\/p>\n<p>    cmd = [securecrt_path, &quot;\/SSH2&quot;, f&quot;{username}@{hostname}&quot;]<\/p>\n<p>    # \u542f\u52a8SecureCRT<\/p>\n<p>    subprocess.run(cmd)<\/p>\n<p>main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528<code>subprocess.run<\/code>\u65b9\u6cd5\u542f\u52a8SecureCRT\uff0c\u5e76\u4f20\u9012SSH\u8fde\u63a5\u53c2\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5c06\u4e0a\u8ff0Python\u4ee3\u7801\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\uff0c\u5e76\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u8be5\u811a\u672c\u3002SecureCRT\u5c06\u6839\u636e\u4f20\u9012\u7684\u53c2\u6570\u542f\u52a8\u5e76\u8fde\u63a5\u5230\u6307\u5b9a\u7684\u670d\u52a1\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4e09\u79cd\u65b9\u6cd5\uff0c\u7528\u6237\u53ef\u4ee5\u5728Python\u4e2d\u8c03\u7528SecureCRT\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u7684SSH\u8fde\u63a5\u4e0e\u64cd\u4f5c\u3002\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u5176\u5185\u7f6e\u652f\u6301Python\u811a\u672c\uff0c\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u3002\u5bf9\u4e8e\u9700\u8981\u5728Windows\u5e73\u53f0\u4e0a\u8fdb\u884c\u66f4\u590d\u6742\u64cd\u4f5c\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528COM\u5bf9\u8c61\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8SecureCRT\u4e5f\u662f\u4e00\u79cd\u7b80\u5355\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u7075\u6d3b\u5e94\u7528\uff0c\u4ece\u800c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pywinauto<\/code>\u6216<code>pyautogui<\/code>\u7b49\u5e93\u6765\u4e0eSecureCRT\u8fdb\u884c\u4ea4\u4e92\u3002\u8fd9\u4e9b\u5e93\u53ef\u4ee5\u6a21\u62df\u952e\u76d8\u548c\u9f20\u6807\u64cd\u4f5c\uff0c\u4ece\u800c\u5b9e\u73b0\u81ea\u52a8\u5316\u7684\u529f\u80fd\u3002\u6b64\u5916\uff0cSecureCRT\u8fd8\u652f\u6301\u901a\u8fc7\u5176\u811a\u672c\u63a5\u53e3\uff08VBScript\u3001Python\u7b49\uff09\u8fdb\u884c\u66f4\u6df1\u5c42\u6b21\u7684\u96c6\u6210\uff0c\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49\u811a\u672c\u4ee5\u5b9e\u73b0\u7279\u5b9a\u7684\u4efb\u52a1\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u7528Python\u5b9e\u73b0\u54ea\u4e9bSecureCRT\u7684\u81ea\u52a8\u5316\u529f\u80fd\uff1f<\/strong><br \/>\u4f7f\u7528Python\u8c03\u7528SecureCRT\uff0c\u60a8\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u81ea\u52a8\u5316\u529f\u80fd\uff0c\u4f8b\u5982\u81ea\u52a8\u767b\u5f55\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u3001\u6267\u884c\u4e00\u7cfb\u5217\u547d\u4ee4\u3001\u83b7\u53d6\u8bbe\u5907\u4fe1\u606f\u3001\u5904\u7406\u8f93\u51fa\u7ed3\u679c\u7b49\u3002\u8fd9\u79cd\u81ea\u52a8\u5316\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u9891\u7e41\u6267\u884c\u76f8\u540c\u64cd\u4f5c\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528Python\u8c03\u7528SecureCRT\u65f6\uff0c\u5982\u4f55\u5904\u7406\u9519\u8bef\u548c\u5f02\u5e38\uff1f<\/strong><br \/>\u5728\u4e0eSecureCRT\u4ea4\u4e92\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u8fde\u63a5\u5931\u8d25\u3001\u547d\u4ee4\u6267\u884c\u9519\u8bef\u7b49\u95ee\u9898\u3002\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u5f02\u5e38\u5904\u7406\u4ee3\u7801\u6765\u6355\u83b7\u8fd9\u4e9b\u9519\u8bef\uff0c\u5e76\u91c7\u53d6\u76f8\u5e94\u7684\u63aa\u65bd\uff0c\u6bd4\u5982\u91cd\u8bd5\u8fde\u63a5\u3001\u8bb0\u5f55\u9519\u8bef\u65e5\u5fd7\u6216\u901a\u77e5\u7528\u6237\u3002\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u53ef\u4ee5\u6709\u6548\u7ba1\u7406\u8fd9\u4e9b\u5f02\u5e38\u60c5\u51b5\uff0c\u786e\u4fdd\u811a\u672c\u7684\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u8c03\u7528SecureCRT\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528SecureCRT\u7684\u811a\u672c\u63a5\u53e3\u3001\u4f7f\u7528COM\u5bf9\u8c61\u4e0eSecureCRT [&hellip;]","protected":false},"author":3,"featured_media":935194,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/935187"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=935187"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/935187\/revisions"}],"predecessor-version":[{"id":935198,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/935187\/revisions\/935198"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/935194"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=935187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=935187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=935187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}