{"id":1094744,"date":"2025-01-08T14:44:04","date_gmt":"2025-01-08T06:44:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1094744.html"},"modified":"2025-01-08T14:44:07","modified_gmt":"2025-01-08T06:44:07","slug":"python%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96qq%e7%99%bb%e5%bd%95%e8%be%93%e5%85%a5%e6%a1%86-3","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1094744.html","title":{"rendered":"python\u5982\u4f55\u83b7\u53d6qq\u767b\u5f55\u8f93\u5165\u6846"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24210726\/f89dd387-c7ae-4020-9484-c0fa084c2fae.webp\" alt=\"python\u5982\u4f55\u83b7\u53d6qq\u767b\u5f55\u8f93\u5165\u6846\" \/><\/p>\n<p><p> <strong>\u901a\u8fc7Python\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u7684\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528Python\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1aSelenium\u3001PyAutoGUI\u3001Requests\u5e93\u3001\u53ca\u901a\u8fc7\u6a21\u62df\u6d4f\u89c8\u5668\u64cd\u4f5c\u7b49\u3002<\/strong>\u5176\u4e2d\u6700\u5e38\u7528\u548c\u6709\u6548\u7684\u65b9\u6cd5\u662f\u4f7f\u7528Selenium\u5e93\uff0c\u901a\u8fc7\u81ea\u52a8\u5316\u6d4f\u89c8\u5668\u64cd\u4f5c\u6765\u83b7\u53d6\u5e76\u64cd\u63a7QQ\u767b\u5f55\u8f93\u5165\u6846\u3002<strong>Selenium\u662f\u4e00\u79cd\u7528\u4e8eWeb\u5e94\u7528\u7a0b\u5e8f\u6d4b\u8bd5\u7684\u5de5\u5177\uff0c\u80fd\u591f\u76f4\u63a5\u63a7\u5236\u6d4f\u89c8\u5668\uff0c\u901a\u8fc7\u7f16\u7a0b\u7684\u65b9\u5f0f\u5b8c\u6210\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e2d\u6267\u884c\u7684\u6240\u6709\u64cd\u4f5c\u3002<\/strong>\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Selenium\u5e93\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u5e76\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e00\u3001Selenium\u5e93\u7684\u5b89\u88c5\u4e0e\u8bbe\u7f6e<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4f7f\u7528Selenium\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5Selenium\u5e93\u548c\u6d4f\u89c8\u5668\u9a71\u52a8\uff0c\u4ee5\u4fbf\u63a7\u5236\u6d4f\u89c8\u5668\u8fdb\u884c\u81ea\u52a8\u5316\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5Selenium\u5e93<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5Selenium\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install selenium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6d4f\u89c8\u5668\u9a71\u52a8<\/li>\n<\/ol>\n<p><p>Selenium\u9700\u8981\u4e00\u4e2a\u6d4f\u89c8\u5668\u9a71\u52a8\u6765\u63a7\u5236\u6d4f\u89c8\u5668\u3002\u5e38\u89c1\u7684\u6d4f\u89c8\u5668\u9a71\u52a8\u6709ChromeDriver\uff08\u7528\u4e8eChrome\u6d4f\u89c8\u5668\uff09\u3001GeckoDriver\uff08\u7528\u4e8eFirefox\u6d4f\u89c8\u5668\uff09\u7b49\u3002\u53ef\u4ee5\u8bbf\u95ee\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d\u76f8\u5e94\u7684\u6d4f\u89c8\u5668\u9a71\u52a8\uff1a<\/p>\n<\/p>\n<ul>\n<li>ChromeDriver: <a href=\"https:\/\/sites.google.com\/a\/chromium.org\/chromedriver\/downloads\">https:\/\/sites.google.com\/a\/chromium.org\/chromedriver\/downloads<\/a><\/li>\n<li>GeckoDriver: <a href=\"https:\/\/github.com\/mozilla\/geckodriver\/releases\">https:\/\/github.com\/mozilla\/geckodriver\/releases<\/a><\/li>\n<\/ul>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u5c06\u9a71\u52a8\u7a0b\u5e8f\u653e\u7f6e\u5728\u7cfb\u7edf\u7684PATH\u8def\u5f84\u4e2d\uff0c\u6216\u8005\u5728\u4ee3\u7801\u4e2d\u6307\u5b9a\u9a71\u52a8\u7a0b\u5e8f\u7684\u8def\u5f84\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e8c\u3001\u4f7f\u7528Selenium\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Selenium\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\uff0c\u5e76\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5bfc\u5165Selenium\u5e93\u5e76\u542f\u52a8\u6d4f\u89c8\u5668<\/li>\n<\/ol>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u5bfc\u5165Selenium\u5e93\u5e76\u542f\u52a8\u6d4f\u89c8\u5668\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u4ee5Chrome\u6d4f\u89c8\u5668\u4e3a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from selenium import webdriver<\/p>\n<h2><strong>\u6307\u5b9aChromeDriver\u7684\u8def\u5f84<\/strong><\/h2>\n<p>driver_path = &#39;path\/to\/chromedriver&#39;<\/p>\n<p>driver = webdriver.Chrome(executable_path=driver_path)<\/p>\n<h2><strong>\u6253\u5f00QQ\u767b\u5f55\u9875\u9762<\/strong><\/h2>\n<p>driver.get(&#39;https:\/\/ui.ptlogin2.qq.com\/cgi-bin\/login&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5b9a\u4f4d\u5e76\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846<\/li>\n<\/ol>\n<p><p>\u5728QQ\u767b\u5f55\u9875\u9762\u4e2d\uff0c\u6709\u4e24\u4e2a\u4e3b\u8981\u7684\u8f93\u5165\u6846\uff1aQQ\u8d26\u53f7\u8f93\u5165\u6846\u548c\u5bc6\u7801\u8f93\u5165\u6846\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Selenium\u63d0\u4f9b\u7684find_element_by_*\u65b9\u6cd5\u6765\u5b9a\u4f4d\u8fd9\u4e9b\u8f93\u5165\u6846\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4f4dQQ\u8d26\u53f7\u8f93\u5165\u6846<\/p>\n<p>qq_number_input = driver.find_element_by_id(&#39;u&#39;)<\/p>\n<h2><strong>\u5b9a\u4f4d\u5bc6\u7801\u8f93\u5165\u6846<\/strong><\/h2>\n<p>password_input = driver.find_element_by_id(&#39;p&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u8d26\u53f7\u548c\u5bc6\u7801<\/li>\n<\/ol>\n<p><p>\u5b9a\u4f4d\u5230\u8f93\u5165\u6846\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528send_keys\u65b9\u6cd5\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u8d26\u53f7\u548c\u5bc6\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8f93\u5165QQ\u8d26\u53f7<\/p>\n<p>qq_number_input.send_keys(&#39;your_qq_number&#39;)<\/p>\n<h2><strong>\u8f93\u5165\u5bc6\u7801<\/strong><\/h2>\n<p>password_input.send_keys(&#39;your_password&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li>\u70b9\u51fb\u767b\u5f55\u6309\u94ae<\/li>\n<\/ol>\n<p><p>\u6700\u540e\uff0c\u9700\u8981\u5b9a\u4f4d\u5e76\u70b9\u51fb\u767b\u5f55\u6309\u94ae\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4f4d\u767b\u5f55\u6309\u94ae<\/p>\n<p>login_button = driver.find_element_by_id(&#39;login_button&#39;)<\/p>\n<h2><strong>\u70b9\u51fb\u767b\u5f55\u6309\u94ae<\/strong><\/h2>\n<p>login_button.click()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<p><p>\u4e09\u3001\u5904\u7406\u9a8c\u8bc1\u7801\u548c\u5176\u4ed6\u95ee\u9898<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0cQQ\u767b\u5f55\u53ef\u80fd\u4f1a\u6d89\u53ca\u5230\u9a8c\u8bc1\u7801\u7b49\u95ee\u9898\u3002\u5bf9\u4e8e\u9a8c\u8bc1\u7801\u7684\u5904\u7406\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u56fe\u50cf\u8bc6\u522b\u6280\u672f\uff0c\u5982OCR\uff08\u5149\u5b66\u5b57\u7b26\u8bc6\u522b\uff09\u6280\u672f\uff0c\u6216\u8005\u624b\u52a8\u8f93\u5165\u9a8c\u8bc1\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5904\u7406\u9a8c\u8bc1\u7801<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9OCR\u5e93\uff08\u5982Tesseract\uff09\u6765\u8bc6\u522b\u9a8c\u8bc1\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pytesseract import image_to_string<\/p>\n<p>from PIL import Image<\/p>\n<h2><strong>\u5b9a\u4f4d\u9a8c\u8bc1\u7801\u56fe\u7247<\/strong><\/h2>\n<p>captcha_image = driver.find_element_by_id(&#39;verifyimg&#39;)<\/p>\n<h2><strong>\u4fdd\u5b58\u9a8c\u8bc1\u7801\u56fe\u7247<\/strong><\/h2>\n<p>captcha_image.screenshot(&#39;captcha.png&#39;)<\/p>\n<h2><strong>\u4f7f\u7528OCR\u8bc6\u522b\u9a8c\u8bc1\u7801<\/strong><\/h2>\n<p>captcha_text = image_to_string(Image.open(&#39;captcha.png&#39;))<\/p>\n<h2><strong>\u8f93\u5165\u9a8c\u8bc1\u7801<\/strong><\/h2>\n<p>captcha_input = driver.find_element_by_id(&#39;verifycode&#39;)<\/p>\n<p>captcha_input.send_keys(captcha_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5176\u4ed6\u95ee\u9898<\/li>\n<\/ol>\n<p><p>\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u53ef\u80fd\u8fd8\u4f1a\u9047\u5230\u5176\u4ed6\u95ee\u9898\uff0c\u5982\u9875\u9762\u52a0\u8f7d\u65f6\u95f4\u8fc7\u957f\u3001\u5143\u7d20\u4e0d\u53ef\u89c1\u7b49\u3002\u53ef\u4ee5\u4f7f\u7528\u663e\u5f0f\u7b49\u5f85\uff08Explicit W<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>t\uff09\u6765\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff1a<\/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\u5f85QQ\u8d26\u53f7\u8f93\u5165\u6846\u53ef\u89c1<\/strong><\/h2>\n<p>qq_number_input = WebDriverWait(driver, 10).until(<\/p>\n<p>    EC.visibility_of_element_located((By.ID, &#39;u&#39;))<\/p>\n<p>)<\/p>\n<h2><strong>\u7b49\u5f85\u5bc6\u7801\u8f93\u5165\u6846\u53ef\u89c1<\/strong><\/h2>\n<p>password_input = WebDriverWait(driver, 10).until(<\/p>\n<p>    EC.visibility_of_element_located((By.ID, &#39;p&#39;))<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<p><p>\u56db\u3001\u5b8c\u6574\u4ee3\u7801\u793a\u4f8b<\/p>\n<\/p>\n<p><p>\u7efc\u5408\u4ee5\u4e0a\u5185\u5bb9\uff0c\u7ed9\u51fa\u4e00\u4e2a\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from selenium import webdriver<\/p>\n<p>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<p>from pytesseract import image_to_string<\/p>\n<p>from PIL import Image<\/p>\n<h2><strong>\u6307\u5b9aChromeDriver\u7684\u8def\u5f84<\/strong><\/h2>\n<p>driver_path = &#39;path\/to\/chromedriver&#39;<\/p>\n<p>driver = webdriver.Chrome(executable_path=driver_path)<\/p>\n<h2><strong>\u6253\u5f00QQ\u767b\u5f55\u9875\u9762<\/strong><\/h2>\n<p>driver.get(&#39;https:\/\/ui.ptlogin2.qq.com\/cgi-bin\/login&#39;)<\/p>\n<h2><strong>\u7b49\u5f85QQ\u8d26\u53f7\u8f93\u5165\u6846\u53ef\u89c1<\/strong><\/h2>\n<p>qq_number_input = WebDriverWait(driver, 10).until(<\/p>\n<p>    EC.visibility_of_element_located((By.ID, &#39;u&#39;))<\/p>\n<p>)<\/p>\n<h2><strong>\u8f93\u5165QQ\u8d26\u53f7<\/strong><\/h2>\n<p>qq_number_input.send_keys(&#39;your_qq_number&#39;)<\/p>\n<h2><strong>\u7b49\u5f85\u5bc6\u7801\u8f93\u5165\u6846\u53ef\u89c1<\/strong><\/h2>\n<p>password_input = WebDriverWait(driver, 10).until(<\/p>\n<p>    EC.visibility_of_element_located((By.ID, &#39;p&#39;))<\/p>\n<p>)<\/p>\n<h2><strong>\u8f93\u5165\u5bc6\u7801<\/strong><\/h2>\n<p>password_input.send_keys(&#39;your_password&#39;)<\/p>\n<h2><strong>\u5904\u7406\u9a8c\u8bc1\u7801<\/strong><\/h2>\n<p>captcha_image = driver.find_element_by_id(&#39;verifyimg&#39;)<\/p>\n<p>captcha_image.screenshot(&#39;captcha.png&#39;)<\/p>\n<p>captcha_text = image_to_string(Image.open(&#39;captcha.png&#39;))<\/p>\n<p>captcha_input = driver.find_element_by_id(&#39;verifycode&#39;)<\/p>\n<p>captcha_input.send_keys(captcha_text)<\/p>\n<h2><strong>\u70b9\u51fb\u767b\u5f55\u6309\u94ae<\/strong><\/h2>\n<p>login_button = driver.find_element_by_id(&#39;login_button&#39;)<\/p>\n<p>login_button.click()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<hr>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Python\u7684Selenium\u5e93\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u5e76\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\u3002<strong>Selenium\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u529f\u80fd\uff0c\u53ef\u4ee5\u6a21\u62df\u7528\u6237\u5728\u6d4f\u89c8\u5668\u4e2d\u7684\u64cd\u4f5c\uff0c\u65b9\u4fbf\u8fdb\u884cWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u6d4b\u8bd5\u548c\u81ea\u52a8\u5316\u64cd\u4f5c\u3002<\/strong>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8fd8\u9700\u8981\u8003\u8651\u9a8c\u8bc1\u7801\u5904\u7406\u3001\u9875\u9762\u52a0\u8f7d\u65f6\u95f4\u7b49\u95ee\u9898\uff0c\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6\u6280\u672f\u548c\u65b9\u6cd5\u6765\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u60a8\u5728\u4f7f\u7528Selenium\u8fdb\u884c\u81ea\u52a8\u5316\u64cd\u4f5c\u65f6\u53d6\u5f97\u6210\u529f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u81ea\u52a8\u5316\u83b7\u53d6QQ\u767b\u5f55\u9875\u9762\u7684\u8f93\u5165\u6846\uff1f<\/strong><br \/>\u8981\u83b7\u53d6QQ\u767b\u5f55\u9875\u9762\u7684\u8f93\u5165\u6846\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684Selenium\u5e93\u3002Selenium\u5141\u8bb8\u4f60\u81ea\u52a8\u5316\u6d4f\u89c8\u5668\u64cd\u4f5c\u3002\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5Selenium\u548c\u76f8\u5e94\u7684WebDriver\uff0c\u7136\u540e\u7f16\u5199\u811a\u672c\u6253\u5f00QQ\u767b\u5f55\u9875\u9762\u5e76\u5b9a\u4f4d\u8f93\u5165\u6846\u5143\u7d20\u3002\u901a\u8fc7\u5143\u7d20\u7684ID\u3001\u7c7b\u540d\u6216XPath\u7b49\u5c5e\u6027\u8fdb\u884c\u5b9a\u4f4d\uff0c\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u5316\u8f93\u5165\u3002<\/p>\n<p><strong>\u5728QQ\u767b\u5f55\u9875\u9762\uff0c\u5982\u4f55\u8bc6\u522b\u7528\u6237\u540d\u548c\u5bc6\u7801\u8f93\u5165\u6846\u7684\u5143\u7d20\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u7684\u5f00\u53d1\u8005\u5de5\u5177\u6765\u8bc6\u522b\u8f93\u5165\u6846\u7684\u5143\u7d20\u3002\u901a\u5e38\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u8f93\u5165\u6846\u4f1a\u6709\u7279\u5b9a\u7684ID\u6216\u7c7b\u540d\uff0c\u4f8b\u5982\u201cu\u201d\u6216\u201cp\u201d\u3002\u4f7f\u7528Selenium\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>find_element_by_id<\/code>\u6216<code>find_element_by_class_name<\/code>\u65b9\u6cd5\u6765\u51c6\u786e\u5b9a\u4f4d\u8fd9\u4e9b\u8f93\u5165\u6846\uff0c\u4ece\u800c\u8fdb\u884c\u6570\u636e\u8f93\u5165\u548c\u63d0\u4ea4\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Python\u8fdb\u884c\u81ea\u52a8\u5316\u64cd\u4f5c\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u7f51\u7edc\u8fde\u63a5\u826f\u597d\uff0c\u5e76\u4e14\u9875\u9762\u5b8c\u5168\u52a0\u8f7d\u3002\u9875\u9762\u52a0\u8f7d\u4e0d\u5b8c\u5168\u65f6\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5143\u7d20\u65e0\u6cd5\u88ab\u627e\u5230\u3002\u6b64\u5916\uff0cQQ\u767b\u5f55\u9875\u9762\u53ef\u80fd\u4f1a\u6709\u53cd\u722c\u866b\u673a\u5236\uff0c\u9700\u8981\u9002\u5f53\u6dfb\u52a0\u5ef6\u65f6\u6216\u4f7f\u7528\u4ee3\u7406\u6765\u907f\u514d\u88ab\u5c01\u7981\u3002\u52a1\u5fc5\u9075\u5faa\u76f8\u5173\u7684\u4f7f\u7528\u6761\u6b3e\uff0c\u786e\u4fdd\u64cd\u4f5c\u7684\u5408\u6cd5\u6027\u548c\u5408\u89c4\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u901a\u8fc7Python\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u7684\u65b9\u6cd5 \u4f7f\u7528Python\u83b7\u53d6QQ\u767b\u5f55\u8f93\u5165\u6846\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1aSelenium\u3001P [&hellip;]","protected":false},"author":3,"featured_media":1094750,"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\/1094744"}],"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=1094744"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1094744\/revisions"}],"predecessor-version":[{"id":1094754,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1094744\/revisions\/1094754"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1094750"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1094744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1094744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1094744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}