{"id":974612,"date":"2024-12-27T06:06:34","date_gmt":"2024-12-26T22:06:34","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/974612.html"},"modified":"2024-12-27T06:06:36","modified_gmt":"2024-12-26T22:06:36","slug":"python%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e7%88%ac%e8%99%ab%e5%ba%93","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/974612.html","title":{"rendered":"python\u5982\u4f55\u5b89\u88c5\u722c\u866b\u5e93"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200235\/2fac8980-824a-42ee-8376-384a07709e2e.webp\" alt=\"python\u5982\u4f55\u5b89\u88c5\u722c\u866b\u5e93\" \/><\/p>\n<p><p> \u5f00\u5934\u6bb5\u843d\uff1a<br \/><strong>\u5728Python\u4e2d\u5b89\u88c5\u722c\u866b\u5e93\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u786e\u4fddPython\u73af\u5883\u5df2\u5b89\u88c5\u3001\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5\u722c\u866b\u5e93\u3001\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3001\u914d\u7f6e\u5fc5\u8981\u7684\u4f9d\u8d56\u9879<\/strong>\u3002\u5728\u8fd9\u4e9b\u6b65\u9aa4\u4e2d\uff0c\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5\u722c\u866b\u5e93\u662f\u6700\u4e3a\u6838\u5fc3\u7684\u6b65\u9aa4\u3002pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u4ee5\u5b89\u88c5Scrapy\u5e93\u4e3a\u4f8b\uff0c\u53ea\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u201cpip install scrapy\u201d\uff0c\u7cfb\u7edf\u4fbf\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5Scrapy\u53ca\u5176\u6240\u6709\u4f9d\u8d56\u5e93\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u7248\u672c\u53f7\u6765\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5e93\uff0c\u8fd9\u5bf9\u4e8e\u5728\u9879\u76ee\u4e2d\u9700\u8981\u7279\u5b9a\u5e93\u7248\u672c\u65f6\u7279\u522b\u6709\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u786e\u4fddPython\u73af\u5883\u5df2\u5b89\u88c5<br \/>\u5728\u5b89\u88c5\u722c\u866b\u5e93\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u8ba1\u7b97\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u73af\u5883\u3002Python\u662f\u722c\u866b\u5f00\u53d1\u7684\u57fa\u7840\uff0c\u6ca1\u6709\u5b83\u5c31\u65e0\u6cd5\u8fd0\u884c\u722c\u866b\u7a0b\u5e8f\u3002\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5efa\u8bae\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\uff0c\u4fbf\u4e8e\u540e\u7eed\u7684\u547d\u4ee4\u884c\u64cd\u4f5c\u3002\u5728macOS\u548cLinux\u7cfb\u7edf\u4e0a\uff0cPython\u901a\u5e38\u5df2\u7ecf\u9884\u88c5\uff0c\u4f46\u5efa\u8bae\u68c0\u67e5\u7248\u672c\u662f\u5426\u6ee1\u8db3\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>Python\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8f93\u5165\u201cpython &#8211;version\u201d\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002\u5982\u679c\u663e\u793a\u51faPython\u7684\u7248\u672c\u53f7\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002\u5982\u679c\u6ca1\u6709\u663e\u793a\uff0c\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u6216\u8c03\u6574\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5\u722c\u866b\u5e93<br \/>pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u4f7f\u7528pip\u5b89\u88c5\u722c\u866b\u5e93\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u76f8\u5e94\u7684\u547d\u4ee4\u5373\u53ef\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u722c\u866b\u5e93\u53ca\u5176\u5b89\u88c5\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Scrapy<\/strong>\uff1aScrapy\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u722c\u866b\u6846\u67b6\uff0c\u9002\u5408\u6784\u5efa\u590d\u6742\u7684\u722c\u866b\u9879\u76ee\u3002\u5b89\u88c5Scrapy\u7684\u547d\u4ee4\u662f\u201cpip install scrapy\u201d\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0cpip\u4f1a\u81ea\u52a8\u89e3\u51b3Scrapy\u7684\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Beautiful Soup<\/strong>\uff1aBeautiful Soup\u7528\u4e8e\u89e3\u6790HTML\u548cXML\u6587\u6863\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u7b80\u5355\u7684\u7f51\u9875\u6570\u636e\u3002\u5b89\u88c5\u547d\u4ee4\u662f\u201cpip install beautifulsoup4\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Requests<\/strong>\uff1aRequests\u662f\u4e00\u4e2aHTTP\u5e93\uff0c\u7528\u4e8e\u53d1\u9001HTTP\u8bf7\u6c42\uff0c\u5b89\u88c5\u547d\u4ee4\u662f\u201cpip install requests\u201d\u3002\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u6613\u7528\u7684API\uff0c\u9002\u5408\u521d\u5b66\u8005\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>lxml<\/strong>\uff1alxml\u662f\u4e00\u4e2a\u5feb\u901f\u3001\u7075\u6d3b\u7684HTML\u548cXML\u5904\u7406\u5e93\u3002\u5b89\u88c5\u547d\u4ee4\u662f\u201cpip install lxml\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u51fa\u73b0\u6743\u9650\u4e0d\u8db3\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u201csudo pip install &lt;\u5e93\u540d&gt;\u201d\u547d\u4ee4\uff08\u9002\u7528\u4e8emacOS\u548cLinux\uff09\uff0c\u6216\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u547d\u4ee4\u63d0\u793a\u7b26\uff08\u9002\u7528\u4e8eWindows\uff09\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f<br \/>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5efa\u8bae\u9a8c\u8bc1\u722c\u866b\u5e93\u662f\u5426\u5df2\u6210\u529f\u5b89\u88c5\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u9a8c\u8bc1\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u6253\u5f00Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff0c\u8f93\u5165\u201cimport &lt;\u5e93\u540d&gt;\u201d\u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u9a8c\u8bc1Scrapy\u662f\u5426\u5b89\u88c5\u6210\u529f\uff0c\u53ef\u4ee5\u8f93\u5165\u201cimport scrapy\u201d\u3002\u5982\u679c\u6ca1\u6709\u9519\u8bef\u4fe1\u606f\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528pip\u547d\u4ee4\u67e5\u770b\u5df2\u5b89\u88c5\u7684\u5305\u5217\u8868\u3002\u8f93\u5165\u201cpip list\u201d\u547d\u4ee4\uff0c\u53ef\u4ee5\u770b\u5230\u6240\u6709\u5df2\u5b89\u88c5\u7684Python\u5305\u53ca\u5176\u7248\u672c\u53f7\u3002\u68c0\u67e5\u5217\u8868\u4e2d\u662f\u5426\u5305\u542b\u4f60\u5b89\u88c5\u7684\u722c\u866b\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u5c1d\u8bd5\u8fd0\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u722c\u866b\u7a0b\u5e8f\uff0c\u786e\u4fdd\u5e93\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528Requests\u5e93\u53d1\u9001\u4e00\u4e2aHTTP\u8bf7\u6c42\uff0c\u5e76\u6253\u5370\u54cd\u5e94\u5185\u5bb9\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u914d\u7f6e\u5fc5\u8981\u7684\u4f9d\u8d56\u9879<br \/>\u67d0\u4e9b\u722c\u866b\u5e93\u53ef\u80fd\u9700\u8981\u989d\u5916\u7684\u4f9d\u8d56\u9879\u624d\u80fd\u6b63\u5e38\u8fd0\u884c\u3002\u5728\u5b89\u88c5\u722c\u866b\u5e93\u540e\uff0c\u52a1\u5fc5\u67e5\u9605\u5b98\u65b9\u6587\u6863\uff0c\u4e86\u89e3\u662f\u5426\u9700\u8981\u989d\u5916\u914d\u7f6e\u3002\u4f8b\u5982\uff0cScrapy\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Twisted\u5e93\uff0c\u800clxml\u53ef\u80fd\u9700\u8981C\u8bed\u8a00\u7f16\u8bd1\u5668\u6765\u7f16\u8bd1C\u6269\u5c55\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u4f9d\u8d56\u9879<\/strong>\uff1a\u6839\u636e\u5b98\u65b9\u6587\u6863\u7684\u6307\u5f15\uff0c\u4f7f\u7528pip\u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u9879\u3002\u4f8b\u5982\uff0cScrapy\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u201cpyOpenSSL\u201d\u4ee5\u652f\u6301HTTPS\u8bf7\u6c42\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\uff1a\u6709\u4e9b\u5e93\u53ef\u80fd\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u4f8b\u5982\uff0c\u4f7f\u7528Selenium\u5e93\u65f6\uff0c\u5982\u679c\u9700\u8981\u63a7\u5236Chrome\u6d4f\u89c8\u5668\uff0c\u53ef\u80fd\u9700\u8981\u4e0b\u8f7d\u5e76\u914d\u7f6eChromeDriver\u7684\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5\u517c\u5bb9\u6027<\/strong>\uff1a\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u9879\u4e0ePython\u7248\u672c\u517c\u5bb9\u3002\u67d0\u4e9b\u5e93\u53ef\u80fd\u4e0d\u652f\u6301\u8f83\u65e7\u6216\u8f83\u65b0\u7684Python\u7248\u672c\uff0c\u5b89\u88c5\u524d\u9700\u8981\u4ed4\u7ec6\u68c0\u67e5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u66f4\u65b0\u548c\u5378\u8f7d\u722c\u866b\u5e93<br \/>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u65b0\u6216\u5378\u8f7d\u722c\u866b\u5e93\u3002pip\u4e5f\u63d0\u4f9b\u4e86\u76f8\u5e94\u7684\u547d\u4ee4\u6765\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u66f4\u65b0\u5e93<\/strong>\uff1a\u4f7f\u7528\u201cpip install &#8211;upgrade &lt;\u5e93\u540d&gt;\u201d\u547d\u4ee4\uff0c\u53ef\u4ee5\u5c06\u722c\u866b\u5e93\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u3002\u4f8b\u5982\uff0c\u66f4\u65b0Scrapy\u5e93\uff0c\u53ef\u4ee5\u8f93\u5165\u201cpip install &#8211;upgrade scrapy\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5378\u8f7d\u5e93<\/strong>\uff1a\u5982\u679c\u4e0d\u518d\u9700\u8981\u67d0\u4e2a\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u201cpip uninstall &lt;\u5e93\u540d&gt;\u201d\u547d\u4ee4\u6765\u5378\u8f7d\u3002\u4f8b\u5982\uff0c\u5378\u8f7dBeautiful Soup\uff0c\u53ef\u4ee5\u8f93\u5165\u201cpip uninstall beautifulsoup4\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u5e93\u4fe1\u606f<\/strong>\uff1a\u4f7f\u7528\u201cpip show &lt;\u5e93\u540d&gt;\u201d\u547d\u4ee4\uff0c\u53ef\u4ee5\u67e5\u770b\u5df2\u5b89\u88c5\u5e93\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001\u4f9d\u8d56\u5173\u7cfb\u3001\u5b89\u88c5\u8def\u5f84\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u6210\u529f\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u66f4\u65b0\u548c\u5378\u8f7dPython\u722c\u866b\u5e93\uff0c\u4e3a\u722c\u866b\u5f00\u53d1\u6253\u4e0b\u575a\u5b9e\u7684\u57fa\u7840\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u638c\u63e1\u8fd9\u4e9b\u57fa\u672c\u64cd\u4f5c\u90fd\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b89\u88c5\u722c\u866b\u5e93\uff1f<\/strong><br \/>\u5728Python\u4e2d\u5b89\u88c5\u722c\u866b\u5e93\u901a\u5e38\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177pip\u5b8c\u6210\u3002\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\uff0c\u8f93\u5165\u547d\u4ee4<code>pip install scrapy<\/code>\u6765\u5b89\u88c5Scrapy\u5e93\uff0c\u6216\u8005<code>pip install requests<\/code>\u6765\u5b89\u88c5Requests\u5e93\u3002\u786e\u4fdd\u4f60\u7684Python\u73af\u5883\u5df2\u6b63\u786e\u914d\u7f6e\uff0c\u5e76\u4e14pip\u5df2\u88ab\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u5b89\u88c5\u95ee\u9898\u3002<\/p>\n<p><strong>\u5b89\u88c5\u722c\u866b\u5e93\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u54ea\u4e9b\u5e38\u89c1\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u5b89\u88c5\u722c\u866b\u5e93\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u7f51\u7edc\u8fde\u63a5\u95ee\u9898\u3001\u6743\u9650\u95ee\u9898\u6216\u4f9d\u8d56\u5e93\u7f3a\u5931\u7b49\u5e38\u89c1\u95ee\u9898\u3002\u5982\u679c\u51fa\u73b0\u201c\u65e0\u6cd5\u627e\u5230\u5305\u201d\u7684\u9519\u8bef\uff0c\u68c0\u67e5\u662f\u5426\u8f93\u5165\u4e86\u6b63\u786e\u7684\u5e93\u540d\u79f0\uff0c\u6216\u8005\u5c1d\u8bd5\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\uff0c\u6bd4\u5982\u6e05\u534e\u6216\u963f\u91cc\u4e91\u7684\u955c\u50cf\u6e90\uff0c\u4ee5\u63d0\u9ad8\u4e0b\u8f7d\u901f\u5ea6\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u63a8\u8350\u7684\u722c\u866b\u5e93\u4f9b\u521d\u5b66\u8005\u4f7f\u7528\uff1f<\/strong><br \/>\u5bf9\u4e8e\u521d\u5b66\u8005\uff0cRequests\u548cBeautiful Soup\u662f\u975e\u5e38\u6d41\u884c\u4e14\u6613\u4e8e\u4f7f\u7528\u7684\u722c\u866b\u5e93\u3002Requests\u5e93\u53ef\u4ee5\u65b9\u4fbf\u5730\u53d1\u9001HTTP\u8bf7\u6c42\uff0c\u800cBeautiful Soup\u5219\u53ef\u4ee5\u5e2e\u52a9\u89e3\u6790HTML\u6587\u6863\uff0c\u63d0\u53d6\u6570\u636e\u3002\u5bf9\u4e8e\u9700\u8981\u5904\u7406\u590d\u6742\u722c\u866b\u4efb\u52a1\u7684\u7528\u6237\uff0cScrapy\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u6846\u67b6\uff0c\u9002\u5408\u5f00\u53d1\u5927\u578b\u722c\u866b\u9879\u76ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d\uff1a\u5728Python\u4e2d\u5b89\u88c5\u722c\u866b\u5e93\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u786e\u4fddPython\u73af\u5883\u5df2\u5b89\u88c5\u3001\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5\u722c\u866b\u5e93\u3001\u9a8c\u8bc1\u5b89\u88c5 [&hellip;]","protected":false},"author":3,"featured_media":974619,"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\/974612"}],"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=974612"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/974612\/revisions"}],"predecessor-version":[{"id":974621,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/974612\/revisions\/974621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/974619"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=974612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=974612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=974612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}