{"id":1077739,"date":"2025-01-08T12:05:05","date_gmt":"2025-01-08T04:05:05","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1077739.html"},"modified":"2025-01-08T12:05:08","modified_gmt":"2025-01-08T04:05:08","slug":"python%e5%a6%82%e4%bd%95%e7%bb%99%e5%85%ac%e4%bc%97%e5%8f%b7%e5%8f%91%e6%96%87%e7%ab%a0%e6%8e%92%e7%89%88-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1077739.html","title":{"rendered":"python\u5982\u4f55\u7ed9\u516c\u4f17\u53f7\u53d1\u6587\u7ae0\u6392\u7248"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181644\/a05fea0e-4bd3-40c3-8028-083b5ce4d6fb.webp\" alt=\"python\u5982\u4f55\u7ed9\u516c\u4f17\u53f7\u53d1\u6587\u7ae0\u6392\u7248\" \/><\/p>\n<p><p> <strong>Python\u7ed9\u516c\u4f17\u53f7\u53d1\u6587\u7ae0\u6392\u7248\u7684\u65b9\u6cd5\uff1a\u4f7f\u7528Python\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177\u3001\u5229\u7528\u7b2c\u4e09\u65b9\u5e93\u3001\u7ed3\u5408Markdown\u8fdb\u884c\u6392\u7248<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528Python\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177<\/p>\n<\/p>\n<p><p>Python\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u53ef\u4ee5\u7528\u6765\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177\uff0c\u5e2e\u52a9\u516c\u4f17\u53f7\u4f5c\u8005\u5feb\u901f\u8fdb\u884c\u6587\u7ae0\u6392\u7248\u3002\u901a\u8fc7\u7f16\u5199Python\u811a\u672c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5c06\u6587\u7ae0\u5185\u5bb9\u6309\u7167\u9884\u5b9a\u7684\u683c\u5f0f\u81ea\u52a8\u6392\u7248\uff0c\u63d0\u9ad8\u6548\u7387\uff0c\u51cf\u5c11\u4eba\u5de5\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5229\u7528\u7b2c\u4e09\u65b9\u5e93<\/p>\n<\/p>\n<p><p>Python\u793e\u533a\u6709\u5f88\u591a\u5f3a\u5927\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u8fdb\u884c\u6587\u7ae0\u6392\u7248\u3002\u4f8b\u5982\uff0c<code>WeChatSogou<\/code>\u5e93\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u4ece\u5fae\u4fe1\u516c\u4f17\u53f7\u4e0a\u722c\u53d6\u6587\u7ae0\u5185\u5bb9\uff0c\u5e76\u8fdb\u884c\u6392\u7248\u5904\u7406\uff1b<code>Markdown<\/code>\u5e93\u53ef\u4ee5\u5c06Markdown\u683c\u5f0f\u7684\u6587\u7ae0\u8f6c\u6362\u6210HTML\u683c\u5f0f\uff0c\u65b9\u4fbf\u8fdb\u884c\u6392\u7248\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7ed3\u5408Markdown\u8fdb\u884c\u6392\u7248<\/p>\n<\/p>\n<p><p>Markdown\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u5e7f\u6cdb\u7528\u4e8e\u6587\u672c\u683c\u5f0f\u5316\u3002\u901a\u8fc7\u5c06\u6587\u7ae0\u5185\u5bb9\u8f6c\u6362\u6210Markdown\u683c\u5f0f\uff0c\u5e76\u7ed3\u5408Python\u811a\u672c\u8fdb\u884c\u5904\u7406\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u6587\u7ae0\u7684\u81ea\u52a8\u6392\u7248\u3002Markdown\u7684\u8bed\u6cd5\u7b80\u5355\u6613\u5b66\uff0c\u975e\u5e38\u9002\u5408\u7528\u6765\u8fdb\u884c\u6587\u7ae0\u6392\u7248\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u7ed3\u5408Markdown\u8fdb\u884c\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Python\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Python\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5feb\u901f\u8fdb\u884c\u6587\u7ae0\u6392\u7248\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528Python\u811a\u672c\u8fdb\u884c\u6587\u7ae0\u6392\u7248\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def format_article(article):<\/p>\n<p>    # \u5c06\u6587\u7ae0\u5185\u5bb9\u6309\u7167\u9884\u5b9a\u7684\u683c\u5f0f\u8fdb\u884c\u6392\u7248<\/p>\n<p>    formatted_article = article.replace(&quot;\\n&quot;, &quot;&lt;br&gt;&quot;)  # \u5c06\u6362\u884c\u7b26\u66ff\u6362\u6210HTML\u7684\u6362\u884c\u6807\u7b7e<\/p>\n<p>    formatted_article = f&quot;&lt;html&gt;&lt;body&gt;{formatted_article}&lt;\/body&gt;&lt;\/html&gt;&quot;  # \u5305\u88c5\u6210HTML\u683c\u5f0f<\/p>\n<p>    return formatted_article<\/p>\n<h2><strong>\u793a\u4f8b\u6587\u7ae0\u5185\u5bb9<\/strong><\/h2>\n<p>article_content = &quot;&quot;&quot;<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6587\u7ae0\u3002<\/p>\n<p>\u6587\u7ae0\u7684\u5185\u5bb9\u53ef\u4ee5\u5305\u542b\u591a\u6bb5\u6587\u5b57\uff0c\u6bcf\u6bb5\u6587\u5b57\u4e4b\u95f4\u4f7f\u7528\u6362\u884c\u7b26\u5206\u9694\u3002<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<h2><strong>\u683c\u5f0f\u5316\u6587\u7ae0<\/strong><\/h2>\n<p>formatted_article = format_article(article_content)<\/p>\n<p>print(formatted_article)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u5229\u7528\u7b2c\u4e09\u65b9\u5e93<\/h3>\n<\/p>\n<p><p>\u5229\u7528\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u6211\u4eec\u7684\u5de5\u4f5c\u3002\u4e0b\u9762\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528<code>Markdown<\/code>\u5e93\u5c06Markdown\u683c\u5f0f\u7684\u6587\u7ae0\u8f6c\u6362\u6210HTML\u683c\u5f0f\uff0c\u5e76\u8fdb\u884c\u6392\u7248\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5<code>Markdown<\/code>\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install markdown<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u5c06Markdown\u683c\u5f0f\u7684\u6587\u7ae0\u8f6c\u6362\u6210HTML\u683c\u5f0f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import markdown<\/p>\n<p>def format_article(article):<\/p>\n<p>    # \u5c06Markdown\u683c\u5f0f\u7684\u6587\u7ae0\u8f6c\u6362\u6210HTML\u683c\u5f0f<\/p>\n<p>    formatted_article = markdown.markdown(article)<\/p>\n<p>    return formatted_article<\/p>\n<h2><strong>\u793a\u4f8bMarkdown\u683c\u5f0f\u7684\u6587\u7ae0\u5185\u5bb9<\/strong><\/h2>\n<p>article_content = &quot;&quot;&quot;<\/p>\n<h2><strong>\u793a\u4f8b\u6587\u7ae0\u6807\u9898<\/strong><\/h2>\n<p>\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6587\u7ae0\u3002<\/p>\n<p>## \u5c0f\u6807\u98981<\/p>\n<p>\u6587\u7ae0\u7684\u5185\u5bb9\u53ef\u4ee5\u5305\u542b\u591a\u6bb5\u6587\u5b57\uff0c\u6bcf\u6bb5\u6587\u5b57\u4e4b\u95f4\u4f7f\u7528\u6362\u884c\u7b26\u5206\u9694\u3002<\/p>\n<p>## \u5c0f\u6807\u98982<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528Markdown\u8bed\u6cd5\u8fdb\u884c\u683c\u5f0f\u5316\uff0c\u4f8b\u5982\u52a0\u7c97\u3001\u659c\u4f53\u3001\u5217\u8868\u7b49\u3002<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<h2><strong>\u683c\u5f0f\u5316\u6587\u7ae0<\/strong><\/h2>\n<p>formatted_article = format_article(article_content)<\/p>\n<p>print(formatted_article)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408Markdown\u8fdb\u884c\u6392\u7248<\/h3>\n<\/p>\n<p><p>Markdown\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u5e7f\u6cdb\u7528\u4e8e\u6587\u672c\u683c\u5f0f\u5316\u3002\u901a\u8fc7\u5c06\u6587\u7ae0\u5185\u5bb9\u8f6c\u6362\u6210Markdown\u683c\u5f0f\uff0c\u5e76\u7ed3\u5408Python\u811a\u672c\u8fdb\u884c\u5904\u7406\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u6587\u7ae0\u7684\u81ea\u52a8\u6392\u7248\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u7ed3\u5408Markdown\u8fdb\u884c\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import markdown<\/p>\n<p>def format_article(article):<\/p>\n<p>    # \u5c06Markdown\u683c\u5f0f\u7684\u6587\u7ae0\u8f6c\u6362\u6210HTML\u683c\u5f0f<\/p>\n<p>    formatted_article = markdown.markdown(article)<\/p>\n<p>    # \u5305\u88c5\u6210HTML\u683c\u5f0f<\/p>\n<p>    formatted_article = f&quot;&lt;html&gt;&lt;body&gt;{formatted_article}&lt;\/body&gt;&lt;\/html&gt;&quot;<\/p>\n<p>    return formatted_article<\/p>\n<h2><strong>\u793a\u4f8bMarkdown\u683c\u5f0f\u7684\u6587\u7ae0\u5185\u5bb9<\/strong><\/h2>\n<p>article_content = &quot;&quot;&quot;<\/p>\n<h2><strong>\u793a\u4f8b\u6587\u7ae0\u6807\u9898<\/strong><\/h2>\n<p>\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6587\u7ae0\u3002<\/p>\n<p>## \u5c0f\u6807\u98981<\/p>\n<p>\u6587\u7ae0\u7684\u5185\u5bb9\u53ef\u4ee5\u5305\u542b\u591a\u6bb5\u6587\u5b57\uff0c\u6bcf\u6bb5\u6587\u5b57\u4e4b\u95f4\u4f7f\u7528\u6362\u884c\u7b26\u5206\u9694\u3002<\/p>\n<p>## \u5c0f\u6807\u98982<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528Markdown\u8bed\u6cd5\u8fdb\u884c\u683c\u5f0f\u5316\uff0c\u4f8b\u5982\u52a0\u7c97\u3001\u659c\u4f53\u3001\u5217\u8868\u7b49\u3002<\/p>\n<p>&quot;&quot;&quot;<\/p>\n<h2><strong>\u683c\u5f0f\u5316\u6587\u7ae0<\/strong><\/h2>\n<p>formatted_article = format_article(article_content)<\/p>\n<p>print(formatted_article)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u65f6\uff0c\u6709\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u9700\u8981\u7279\u522b\u5173\u6ce8\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u56fe\u7247\u548c\u89c6\u9891\u7684\u63d2\u5165<\/strong>\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u901a\u5e38\u4f1a\u5305\u542b\u56fe\u7247\u548c\u89c6\u9891\uff0c\u4f7f\u7528Python\u8fdb\u884c\u6392\u7248\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u56fe\u7247\u548c\u89c6\u9891\u7684\u94fe\u63a5\u6b63\u786e\uff0c\u5e76\u4e14\u683c\u5f0f\u7b26\u5408\u5fae\u4fe1\u516c\u4f17\u53f7\u7684\u8981\u6c42\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u7ae0\u7684\u5206\u6bb5<\/strong>\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u901a\u5e38\u4f1a\u5305\u542b\u591a\u4e2a\u6bb5\u843d\u548c\u5c0f\u6807\u9898\uff0c\u4f7f\u7528Python\u8fdb\u884c\u6392\u7248\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u6587\u7ae0\u7684\u7ed3\u6784\u6e05\u6670\uff0c\u6bcf\u4e2a\u6bb5\u843d\u548c\u5c0f\u6807\u9898\u4e4b\u95f4\u6709\u9002\u5f53\u7684\u95f4\u8ddd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b57\u4f53\u548c\u989c\u8272\u7684\u8bbe\u7f6e<\/strong>\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u901a\u5e38\u4f1a\u4f7f\u7528\u4e0d\u540c\u7684\u5b57\u4f53\u548c\u989c\u8272\u8fdb\u884c\u6392\u7248\uff0c\u4f7f\u7528Python\u8fdb\u884c\u6392\u7248\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7HTML\u6807\u7b7e\u8bbe\u7f6e\u5b57\u4f53\u548c\u989c\u8272\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8868\u683c\u548c\u5217\u8868\u7684\u4f7f\u7528<\/strong>\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u901a\u5e38\u4f1a\u5305\u542b\u8868\u683c\u548c\u5217\u8868\uff0c\u4f7f\u7528Python\u8fdb\u884c\u6392\u7248\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u8868\u683c\u548c\u5217\u8868\u7684\u683c\u5f0f\u6b63\u786e\uff0c\u5e76\u4e14\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u7ed3\u5408Markdown\u8fdb\u884c\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\uff0c\u63d0\u9ad8\u6548\u7387\uff0c\u51cf\u5c11\u4eba\u5de5\u64cd\u4f5c\u3002\u540c\u65f6\uff0c\u5728\u8fdb\u884c\u6392\u7248\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u56fe\u7247\u548c\u89c6\u9891\u7684\u63d2\u5165\u3001\u6587\u7ae0\u7684\u5206\u6bb5\u3001\u5b57\u4f53\u548c\u989c\u8272\u7684\u8bbe\u7f6e\u3001\u8868\u683c\u548c\u5217\u8868\u7684\u4f7f\u7528\u7b49\u95ee\u9898\uff0c\u4ee5\u786e\u4fdd\u6587\u7ae0\u7684\u7f8e\u89c2\u548c\u6613\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8fdb\u884c\u516c\u4f17\u53f7\u6587\u7ae0\u7684\u81ea\u52a8\u6392\u7248\uff1f<\/strong><br \/>Python\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e9b\u5e93\u548cAPI\u6765\u5b9e\u73b0\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0\u7684\u81ea\u52a8\u6392\u7248\u3002\u5e38\u7528\u7684\u5e93\u5305\u62ecBeautifulSoup\u548crequests\u7b49\uff0c\u80fd\u591f\u5e2e\u52a9\u6293\u53d6\u548c\u5904\u7406\u6587\u672c\u5185\u5bb9\u3002\u901a\u8fc7\u5c06\u6587\u7ae0\u5185\u5bb9\u6574\u7406\u6210HTML\u683c\u5f0f\uff0c\u5e76\u5229\u7528\u5fae\u4fe1\u516c\u4f17\u53f7\u7684\u63a5\u53e3\u8fdb\u884c\u53d1\u5e03\uff0c\u53ef\u4ee5\u9ad8\u6548\u5b9e\u73b0\u6392\u7248\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9bPython\u5e93\u53ef\u4ee5\u5e2e\u52a9\u5b9e\u73b0\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528BeautifulSoup\u8fdb\u884cHTML\u89e3\u6790\u548c\u5185\u5bb9\u5904\u7406\uff0c\u540c\u65f6\u914d\u5408Markdown\u5e93\u5c06\u6587\u672c\u8f6c\u6362\u4e3aMarkdown\u683c\u5f0f\uff0c\u65b9\u4fbf\u6392\u7248\u3002\u53e6\u5916\uff0cPillow\u5e93\u53ef\u4ee5\u7528\u6765\u5904\u7406\u56fe\u7247\uff0c\u786e\u4fdd\u56fe\u7247\u5728\u6587\u7ae0\u4e2d\u7684\u7f8e\u89c2\u5c55\u793a\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u516c\u4f17\u53f7\u6587\u7ae0\u6392\u7248\u7b26\u5408\u5e73\u53f0\u89c4\u8303\uff1f<\/strong><br \/>\u4e3a\u4e86\u786e\u4fdd\u6392\u7248\u7b26\u5408\u516c\u4f17\u53f7\u5e73\u53f0\u7684\u89c4\u8303\uff0c\u5efa\u8bae\u53c2\u8003\u5fae\u4fe1\u516c\u4f17\u53f7\u7684\u6392\u7248\u89c4\u5219\uff0c\u5305\u62ec\u5b57\u4f53\u3001\u6bb5\u843d\u95f4\u8ddd\u3001\u56fe\u7247\u5927\u5c0f\u7b49\u3002\u540c\u65f6\uff0c\u53ef\u4ee5\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5c06\u6392\u7248\u540e\u7684\u5185\u5bb9\u5728\u6d4b\u8bd5\u53f7\u4e2d\u9884\u89c8\uff0c\u786e\u4fdd\u663e\u793a\u6548\u679c\u826f\u597d\u3002\u4f7f\u7528Python\u811a\u672c\u65f6\uff0c\u53ef\u4ee5\u52a0\u5165\u6821\u9a8c\u673a\u5236\uff0c\u81ea\u52a8\u68c0\u67e5\u683c\u5f0f\u662f\u5426\u7b26\u5408\u8981\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7ed9\u516c\u4f17\u53f7\u53d1\u6587\u7ae0\u6392\u7248\u7684\u65b9\u6cd5\uff1a\u4f7f\u7528Python\u7f16\u5199\u81ea\u52a8\u5316\u5de5\u5177\u3001\u5229\u7528\u7b2c\u4e09\u65b9\u5e93\u3001\u7ed3\u5408Markdown\u8fdb\u884c\u6392 [&hellip;]","protected":false},"author":3,"featured_media":1077748,"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\/1077739"}],"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=1077739"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077739\/revisions"}],"predecessor-version":[{"id":1077751,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077739\/revisions\/1077751"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1077748"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1077739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1077739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1077739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}