{"id":964793,"date":"2024-12-27T04:31:49","date_gmt":"2024-12-26T20:31:49","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/964793.html"},"modified":"2024-12-27T04:31:51","modified_gmt":"2024-12-26T20:31:51","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e6%93%8d%e4%bd%9c%e7%bd%91%e9%a1%b5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/964793.html","title":{"rendered":"\u5982\u4f55\u7528python\u64cd\u4f5c\u7f51\u9875"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181420\/04fdb6fb-92ff-4ded-b880-dc481d1c62b7.webp\" alt=\"\u5982\u4f55\u7528python\u64cd\u4f5c\u7f51\u9875\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u64cd\u4f5c\u7f51\u9875\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Selenium\u8fdb\u884c\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u3001\u4f7f\u7528BeautifulSoup\u8fdb\u884c\u7f51\u9875\u89e3\u6790\u3001\u901a\u8fc7Requests\u5e93\u53d1\u9001HTTP\u8bf7\u6c42\u3002<\/strong>\u5176\u4e2d\uff0cSelenium\u53ef\u4ee5\u6a21\u62df\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e0a\u7684\u64cd\u4f5c\uff0c\u975e\u5e38\u9002\u5408\u5904\u7406\u52a8\u6001\u5185\u5bb9\uff1bBeautifulSoup\u5219\u4e13\u6ce8\u4e8e\u89e3\u6790\u548c\u63d0\u53d6\u9759\u6001\u7f51\u9875\u4e2d\u7684\u6570\u636e\uff1bRequests\u5e93\u80fd\u591f\u8f7b\u677e\u5730\u4e0e\u670d\u52a1\u5668\u8fdb\u884cHTTP\u901a\u4fe1\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e09\u79cd\u65b9\u6cd5\u64cd\u4f5c\u7f51\u9875\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528SELENIUM\u8fdb\u884c\u6d4f\u89c8\u5668\u81ea\u52a8\u5316<\/p>\n<\/p>\n<p><p>Selenium\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f16\u7a0b\u65b9\u5f0f\u63a7\u5236\u6d4f\u89c8\u5668\u884c\u4e3a\u3002\u5b83\u53ef\u4ee5\u6253\u5f00\u7f51\u9875\u3001\u70b9\u51fb\u6309\u94ae\u3001\u586b\u5199\u8868\u5355\u7b49\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u52a8\u6001\u52a0\u8f7d\u7684\u7f51\u9875\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5\u4e0e\u8bbe\u7f6eSelenium<\/strong><\/li>\n<\/ol>\n<p><p>\u8981\u4f7f\u7528Selenium\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5Selenium\u5e93\u548c\u6d4f\u89c8\u5668\u9a71\u52a8\uff08\u5982ChromeDriver\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Selenium\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install selenium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u540c\u65f6\uff0c\u9700\u8981\u4e0b\u8f7d\u4e0e\u6d4f\u89c8\u5668\u7248\u672c\u5339\u914d\u7684\u6d4f\u89c8\u5668\u9a71\u52a8\uff0c\u5e76\u5c06\u5176\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528Selenium\u8fdb\u884c\u7f51\u9875\u64cd\u4f5c<\/strong><\/li>\n<\/ol>\n<p><p>Selenium\u4f7f\u7528WebDriver\u63a5\u53e3\u6765\u4e0e\u6d4f\u89c8\u5668\u8fdb\u884c\u4ea4\u4e92\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u6253\u5f00\u7f51\u9875<\/strong>\uff1a\u4f7f\u7528<code>get()<\/code>\u65b9\u6cd5\u6253\u5f00\u6307\u5b9a\u7684\u7f51\u5740\u3002<\/li>\n<li><strong>\u67e5\u627e\u5143\u7d20<\/strong>\uff1a\u901a\u8fc7<code>find_element_by_id()<\/code>\u3001<code>find_element_by_name()<\/code>\u3001<code>find_element_by_xpath()<\/code>\u7b49\u65b9\u6cd5\u5b9a\u4f4d\u7f51\u9875\u5143\u7d20\u3002<\/li>\n<li><strong>\u64cd\u4f5c\u5143\u7d20<\/strong>\uff1a\u4f7f\u7528<code>click()<\/code>\u70b9\u51fb\u6309\u94ae\uff0c\u4f7f\u7528<code>send_keys()<\/code>\u8f93\u5165\u6587\u672c\u3002<\/li>\n<\/ul>\n<p><pre><code class=\"language-python\">from selenium import webdriver<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2aWebDriver\u5b9e\u4f8b<\/strong><\/h2>\n<p>driver = webdriver.Chrome()<\/p>\n<h2><strong>\u6253\u5f00\u7f51\u9875<\/strong><\/h2>\n<p>driver.get(&quot;http:\/\/example.com&quot;)<\/p>\n<h2><strong>\u67e5\u627e\u5143\u7d20\u5e76\u8fdb\u884c\u64cd\u4f5c<\/strong><\/h2>\n<p>element = driver.find_element_by_id(&quot;exampleId&quot;)<\/p>\n<p>element.click()<\/p>\n<h2><strong>\u5173\u95ed\u6d4f\u89c8\u5668<\/strong><\/h2>\n<p>driver.quit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u5904\u7406\u52a8\u6001\u5185\u5bb9<\/strong><\/li>\n<\/ol>\n<p><p>Selenium\u7279\u522b\u9002\u5408\u5904\u7406\u52a8\u6001\u5185\u5bb9\uff0c\u4f8b\u5982\u4f7f\u7528JavaScript\u52a0\u8f7d\u7684\u6570\u636e\u3002\u53ef\u4ee5\u901a\u8fc7\u7b49\u5f85\uff08\u5982<code>WebDriverW<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>t<\/code>\uff09\u6765\u786e\u4fdd\u5143\u7d20\u5728\u64cd\u4f5c\u524d\u5df2\u52a0\u8f7d\u5b8c\u6210\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from selenium.webdriver.common.by import By<\/p>\n<p>from selenium.webdriver.support.ui import WebDriverWait<\/p>\n<p>from selenium.webdriver.support import expected_conditions as EC<\/p>\n<h2><strong>\u7b49\u5f85\u5143\u7d20\u52a0\u8f7d<\/strong><\/h2>\n<p>element = WebDriverWait(driver, 10).until(<\/p>\n<p>    EC.presence_of_element_located((By.ID, &quot;exampleId&quot;))<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528BEAUTIFULSOUP\u8fdb\u884c\u7f51\u9875\u89e3\u6790<\/p>\n<\/p>\n<p><p>BeautifulSoup\u662f\u4e00\u4e2a\u7528\u4e8e\u89e3\u6790HTML\u548cXML\u6587\u6863\u7684Python\u5e93\u3002\u5b83\u53ef\u4ee5\u4ece\u7f51\u9875\u4e2d\u63d0\u53d6\u6570\u636e\uff0c\u9002\u7528\u4e8e\u5904\u7406\u9759\u6001\u7f51\u9875\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5BeautifulSoup<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5BeautifulSoup\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install beautifulsoup4<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u89e3\u6790\u7f51\u9875\u5185\u5bb9<\/strong><\/li>\n<\/ol>\n<p><p>BeautifulSoup\u53ef\u4ee5\u4ece\u5b57\u7b26\u4e32\u3001\u6587\u4ef6\u6216\u7f51\u7edc\u8bf7\u6c42\u4e2d\u89e3\u6790HTML\u6587\u6863\u3002\u4ee5\u4e0b\u662f\u57fa\u672c\u7528\u6cd5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from bs4 import BeautifulSoup<\/p>\n<p>import requests<\/p>\n<h2><strong>\u53d1\u9001\u7f51\u7edc\u8bf7\u6c42\u5e76\u83b7\u53d6\u7f51\u9875\u5185\u5bb9<\/strong><\/h2>\n<p>response = requests.get(&quot;http:\/\/example.com&quot;)<\/p>\n<p>html_content = response.text<\/p>\n<h2><strong>\u89e3\u6790HTML\u6587\u6863<\/strong><\/h2>\n<p>soup = BeautifulSoup(html_content, &#39;html.parser&#39;)<\/p>\n<h2><strong>\u67e5\u627e\u5143\u7d20<\/strong><\/h2>\n<p>title = soup.title.string<\/p>\n<p>print(title)<\/p>\n<h2><strong>\u67e5\u627e\u6240\u6709\u7279\u5b9a\u6807\u7b7e<\/strong><\/h2>\n<p>links = soup.find_all(&#39;a&#39;)<\/p>\n<p>for link in links:<\/p>\n<p>    print(link.get(&#39;href&#39;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u63d0\u53d6\u6570\u636e<\/strong><\/li>\n<\/ol>\n<p><p>BeautifulSoup\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u67e5\u627e\u548c\u63d0\u53d6\u6570\u636e\uff0c\u5305\u62ec<code>find()<\/code>\u3001<code>find_all()<\/code>\u3001<code>select()<\/code>\u7b49\u3002\u53ef\u4ee5\u6839\u636e\u6807\u7b7e\u3001\u5c5e\u6027\u3001CSS\u9009\u62e9\u5668\u6765\u5b9a\u4f4d\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u901a\u8fc7REQUESTS\u5e93\u53d1\u9001HTTP\u8bf7\u6c42<\/p>\n<\/p>\n<p><p>Requests\u662f\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684HTTP\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u53d1\u9001\u8bf7\u6c42\u548c\u63a5\u6536\u54cd\u5e94\uff0c\u975e\u5e38\u9002\u5408\u4e0eAPI\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5Requests\u5e93<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Requests\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u53d1\u9001HTTP\u8bf7\u6c42<\/strong><\/li>\n<\/ol>\n<p><p>Requests\u5e93\u53ef\u4ee5\u53d1\u9001GET\u3001POST\u7b49\u591a\u79cdHTTP\u8bf7\u6c42\uff0c\u5e76\u5904\u7406\u54cd\u5e94\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<h2><strong>\u53d1\u9001GET\u8bf7\u6c42<\/strong><\/h2>\n<p>response = requests.get(&quot;http:\/\/example.com&quot;)<\/p>\n<p>print(response.status_code)<\/p>\n<p>print(response.text)<\/p>\n<h2><strong>\u53d1\u9001POST\u8bf7\u6c42<\/strong><\/h2>\n<p>data = {&#39;key&#39;: &#39;value&#39;}<\/p>\n<p>response = requests.post(&quot;http:\/\/example.com\/api&quot;, data=data)<\/p>\n<p>print(response.json())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u5904\u7406\u54cd\u5e94<\/strong><\/li>\n<\/ol>\n<p><p>Requests\u5e93\u652f\u6301\u591a\u79cd\u54cd\u5e94\u683c\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7<code>text<\/code>\u3001<code>json()<\/code>\u7b49\u65b9\u6cd5\u83b7\u53d6\u6570\u636e\u3002\u540c\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u72b6\u6001\u7801\u68c0\u67e5\u8bf7\u6c42\u662f\u5426\u6210\u529f\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3\u4e0e\u5b9e\u8df5\u5efa\u8bae<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u6765\u64cd\u4f5c\u7f51\u9875\u975e\u5e38\u91cd\u8981\u3002\u5bf9\u4e8e\u52a8\u6001\u7f51\u9875\uff0cSelenium\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u6a21\u62df\u7528\u6237\u884c\u4e3a\u5e76\u5904\u7406\u590d\u6742\u7684\u4ea4\u4e92\u3002\u800c\u5bf9\u4e8e\u9759\u6001\u7f51\u9875\uff0cBeautifulSoup\u548cRequests\u7ec4\u5408\u53ef\u4ee5\u9ad8\u6548\u5730\u89e3\u6790\u548c\u63d0\u53d6\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u6548\u7387\u548c\u6210\u529f\u7387\uff0c\u5efa\u8bae\u5728\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u65f6\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177<\/strong>\uff1a\u6839\u636e\u7f51\u9875\u7684\u52a8\u6001\u6027\u548c\u590d\u6742\u6027\u9009\u62e9\u9002\u5408\u7684\u5de5\u5177\u3002<\/li>\n<li><strong>\u5904\u7406\u5f02\u5e38\u60c5\u51b5<\/strong>\uff1a\u5728\u7f51\u7edc\u8bf7\u6c42\u548c\u7f51\u9875\u64cd\u4f5c\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u5f02\u5e38\u60c5\u51b5\uff0c\u9700\u8981\u7f16\u5199\u5065\u58ee\u7684\u5f02\u5e38\u5904\u7406\u4ee3\u7801\u3002<\/li>\n<li><strong>\u9075\u5b88\u7f51\u7ad9\u7684\u4f7f\u7528\u6761\u6b3e<\/strong>\uff1a\u5728\u81ea\u52a8\u5316\u64cd\u4f5c\u7f51\u9875\u65f6\uff0c\u52a1\u5fc5\u9075\u5b88\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\u548c\u7f51\u7ad9\u7684\u4f7f\u7528\u6761\u6b3e\uff0c\u907f\u514d\u5bf9\u7f51\u7ad9\u9020\u6210\u8d1f\u62c5\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4e0d\u65ad\u5b9e\u8df5\u548c\u79ef\u7d2f\u7ecf\u9a8c\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u638c\u63e1Python\u64cd\u4f5c\u7f51\u9875\u7684\u6280\u5de7\uff0c\u4e3a\u6570\u636e\u91c7\u96c6\u548c\u81ea\u52a8\u5316\u4efb\u52a1\u63d0\u4f9b\u6709\u529b\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u7528Python\u8fdb\u884c\u7f51\u9875\u6570\u636e\u6293\u53d6\uff1f<\/strong><br \/>\u4f7f\u7528Python\u8fdb\u884c\u7f51\u9875\u6570\u636e\u6293\u53d6\u901a\u5e38\u9700\u8981\u5229\u7528\u7b2c\u4e09\u65b9\u5e93\uff0c\u6bd4\u5982<code>BeautifulSoup<\/code>\u548c<code>requests<\/code>\u3002<code>requests<\/code>\u5e93\u53ef\u4ee5\u5e2e\u52a9\u4f60\u53d1\u9001HTTP\u8bf7\u6c42\u83b7\u53d6\u7f51\u9875\u5185\u5bb9\uff0c\u800c<code>BeautifulSoup<\/code>\u5219\u53ef\u4ee5\u89e3\u6790HTML\u6587\u6863\uff0c\u63d0\u53d6\u6240\u9700\u7684\u6570\u636e\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u76f8\u5173\u5e93\u3001\u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7f51\u9875\u5185\u5bb9\u3001\u89e3\u6790\u5185\u5bb9\u4ee5\u53ca\u63d0\u53d6\u6570\u636e\u3002\u5b66\u4e60\u8fd9\u4e9b\u5e93\u7684\u57fa\u672c\u7528\u6cd5\u5c06\u4f7f\u4f60\u80fd\u66f4\u52a0\u9ad8\u6548\u5730\u8fdb\u884c\u7f51\u9875\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u5e38\u7528\u7684Python\u5e93\u53ef\u4ee5\u64cd\u4f5c\u7f51\u9875\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u51e0\u4e2a\u5e38\u7528\u7684\u5e93\u53ef\u4ee5\u5e2e\u52a9\u4f60\u64cd\u4f5c\u7f51\u9875\uff0c\u5305\u62ec<code>Selenium<\/code>\u3001<code>Scrapy<\/code>\u3001<code>BeautifulSoup<\/code>\u548c<code>requests<\/code>\u3002<code>Selenium<\/code>\u9002\u5408\u7528\u4e8e\u9700\u8981\u8fdb\u884c\u52a8\u6001\u4ea4\u4e92\u7684\u7f51\u9875\uff0c\u80fd\u591f\u6a21\u62df\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e2d\u7684\u64cd\u4f5c\u3002<code>Scrapy<\/code>\u5219\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u722c\u866b\u6846\u67b6\uff0c\u9002\u5408\u8fdb\u884c\u5927\u89c4\u6a21\u7684\u6570\u636e\u6293\u53d6\u3002<code>BeautifulSoup<\/code>\u548c<code>requests<\/code>\u66f4\u9002\u5408\u7b80\u5355\u7684\u7f51\u9875\u6293\u53d6\u548c\u6570\u636e\u89e3\u6790\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Python\u5904\u7406\u7f51\u9875\u4e0a\u7684\u8868\u5355\u63d0\u4ea4\uff1f<\/strong><br \/>\u5904\u7406\u7f51\u9875\u4e0a\u7684\u8868\u5355\u63d0\u4ea4\u53ef\u4ee5\u4f7f\u7528<code>requests<\/code>\u5e93\u7684<code>post<\/code>\u65b9\u6cd5\u3002\u4f60\u9700\u8981\u5148\u901a\u8fc7<code>requests.get()<\/code>\u65b9\u6cd5\u83b7\u53d6\u8868\u5355\u9875\u9762\uff0c\u5206\u6790HTML\u4ee3\u7801\u627e\u5230\u6240\u9700\u7684\u8868\u5355\u5b57\u6bb5\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u5c06\u5b57\u6bb5\u540d\u548c\u5bf9\u5e94\u7684\u503c\u5b58\u5165\u5b57\u5178\u4e2d\uff0c\u6700\u540e\u4f7f\u7528<code>requests.post()<\/code>\u65b9\u6cd5\u5c06\u6570\u636e\u63d0\u4ea4\u5230\u670d\u52a1\u5668\u3002\u786e\u4fdd\u5728\u63d0\u4ea4\u4e4b\u524d\u4e86\u89e3\u8868\u5355\u7684URL\u548c\u9700\u8981\u586b\u5199\u7684\u5b57\u6bb5\uff0c\u4ee5\u4fbf\u6b63\u786e\u63d0\u4ea4\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u64cd\u4f5c\u7f51\u9875\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Selenium\u8fdb\u884c\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u3001\u4f7f\u7528BeautifulSoup\u8fdb\u884c\u7f51 [&hellip;]","protected":false},"author":3,"featured_media":964798,"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\/964793"}],"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=964793"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964793\/revisions"}],"predecessor-version":[{"id":964799,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964793\/revisions\/964799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/964798"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=964793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=964793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=964793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}