{"id":7635,"date":"2022-05-16T07:11:18","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"https:\/\/www.proxysp.com\/?p=7635"},"modified":"2022-05-16T07:11:18","modified_gmt":"1970-01-01T00:00:00","slug":"oxylabs-baidu-real-time-crawler","status":"publish","type":"post","link":"https:\/\/proxysp.com\/zh\/oxylabs-baidu-real-time-crawler\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528\u767e\u5ea6\u5b9e\u65f6\u722c\u866b [\u7b2c 4 \u90e8\u5206]\uff1aOxylabs \u7528\u4e8e\u767e\u5ea6\u7684\u5b9e\u65f6\u722c\u866b"},"content":{"rendered":"<blockquote><p>\u4f60\u77e5\u9053\u5982\u4f55\u4f7f\u7528 OxyLabs Real-time Crawler for Baidu \u5417\uff1f\u8fd9\u662f OxyLabs \u5b98\u65b9\u6700\u5168\u9762\u7684\u4ecb\u7ecd\u3002<\/p><\/blockquote>\n<h2 id=\"quick-start\">\u5feb\u901f\u5165\u95e8<\/h2>\n<p>Real-Time Crawler \u4e13\u4e3a\u91cd\u578b\u6570\u636e\u68c0\u7d22\u64cd\u4f5c\u800c\u8bbe\u8ba1\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 Real-Time Crawler \u8bbf\u95ee\u5404\u79cd\u767e\u5ea6\u7f51\u9875\u3002\u5b83\u53ef\u4ee5\u6beb\u4e0d\u8d39\u529b\u5730\u4ece\u641c\u7d22\u5f15\u64ce\u4e2d\u63d0\u53d6\u7f51\u9875\u6570\u636e\uff0c\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u5ef6\u8fdf\u6216\u9519\u8bef\u3002<\/p>\n<p>\u7528\u4e8e\u767e\u5ea6\u7684\u5b9e\u65f6\u6293\u53d6\u5668\u00a0<a class=\"custom_link\" href=\"https:\/\/en.wikipedia.org\/wiki\/Basic_access_authentication\" target=\"_blank\" rel=\"nofollow noopener\">\u57fa\u672c HTTP \u8eab\u4efd\u9a8c\u8bc1<\/a>\u00a0\u9700\u8981\u53d1\u9001\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<p>\u8fd9\u662f\u8fc4\u4eca\u4e3a\u6b62\u5f00\u59cb\u4f7f\u7528\u767e\u5ea6\u5b9e\u65f6\u722c\u866b\u7684\u6700\u5feb\u65b9\u6cd5\u3002\u60a8\u5c06\u53d1\u9001\u4e00\u4e2a\u67e5\u8be2\u00a0<code>\u963f\u8fea\u8fbe\u65af<\/code>\u00a0\u81f3\u00a0<code>\u767e\u5ea6\u641c\u7d22<\/code>\u00a0\u4f7f\u7528\u00a0<a href=\"#realtime\">\u5b9e\u65f6<\/a>\u00a0\u6574\u5408\u65b9\u6cd5\u3002\u4e0d\u8981\u5fd8\u8bb0\u66ff\u6362\u00a0<code>\u7528\u6237\u540d<\/code>\u00a0\u548c\u00a0<code>\u5bc6\u7801<\/code>\u00a0\u4f7f\u7528\u4ee3\u7406\u7528\u6237\u51ed\u636e\u3002<\/p>\n<pre>curl --user \"USERNAME:PASSWORD\" 'https:\/\/realtime.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\" -d '{\"source\"\uff1a\"baidu_search\", \"domain\"\uff1a\"com\", \"query\"\uff1a\"adidas\"}'\r\n<\/pre>\n<p>\u5982\u679c\u60a8\u6709\u4efb\u4f55\u672c\u6587\u4ef6\u672a\u6d89\u53ca\u7684\u95ee\u9898\uff0c\u8bf7\u8054\u7cfb\u60a8\u7684\u5ba2\u6237\u7ecf\u7406\u6216\u6211\u4eec\u7684\u652f\u6301\u4eba\u5458\uff0c\u5730\u5740\u662f\u00a0<a class=\"custom_link\" href=\"mailto:support@oxylabs.io\" target=\"_blank\" rel=\"nofollow noopener\">support@oxylabs.io<\/a>.<\/p>\n<hr \/>\n<h2 id=\"integration-methods\">\u6574\u5408\u65b9\u6cd5<\/h2>\n<p>\u7528\u4e8e\u767e\u5ea6\u7684\u5b9e\u65f6\u722c\u866b\u652f\u6301\u4e09\u79cd\u96c6\u6210\u65b9\u6cd5\uff0c\u5b83\u4eec\u90fd\u6709\u5404\u81ea\u72ec\u7279\u7684\u4f18\u52bf\uff1a<\/p>\n<ul>\n<li><a href=\"#push-pull\">\u63a8\u62c9\u5f0f<\/a>.\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\uff0c\u73b0\u5728\u9700\u8981\u4e0e\u6211\u4eec\u7684\u7aef\u70b9\u4fdd\u6301\u6d3b\u52a8\u8fde\u63a5\uff0c\u4ee5\u68c0\u7d22\u6570\u636e\u3002\u5728\u53d1\u51fa\u8bf7\u6c42\u540e\uff0c\u6211\u4eec\u7684\u7cfb\u7edf\u4f1a\u5728\u4efb\u52a1\u5b8c\u6210\u540e\u81ea\u52a8 ping \u7528\u6237\u670d\u52a1\u5668\uff08\u8bf7\u53c2\u9605\u00a0<a href=\"#callback\">\u56de\u8c03<\/a>).\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u8282\u7701\u8ba1\u7b97\u8d44\u6e90\uff0c\u800c\u4e14\u6613\u4e8e\u6269\u5c55\u3002<\/li>\n<li><a href=\"#realtime\">\u5b9e\u65f6<\/a>.\u8be5\u65b9\u6cd5\u8981\u6c42\u7528\u6237\u4e0e\u6211\u4eec\u7684\u7aef\u70b9\u4fdd\u6301\u6d3b\u52a8\u8fde\u63a5\uff0c\u4ee5\u4fbf\u5728\u4efb\u52a1\u5b8c\u6210\u65f6\u6210\u529f\u83b7\u53d6\u7ed3\u679c\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5728\u4e00\u4e2a\u670d\u52a1\u4e2d\u5b9e\u73b0\uff0c\u800c\u63a8\u62c9\u6cd5\u5219\u9700\u8981\u4e24\u4e2a\u6b65\u9aa4\u3002<\/li>\n<li><a href=\"#superapi\">\u8d85\u7ea7\u7528\u6237\u63a5\u53e3<\/a>.\u8fd9\u79cd\u65b9\u6cd5\u4e0e\u5b9e\u65f6\u65b9\u6cd5\u975e\u5e38\u76f8\u4f3c\uff0c\u4f46\u7528\u6237\u53ef\u4ee5\u4f7f\u7528 HTML Cralwer \u4f5c\u4e3a\u4ee3\u7406\uff0c\u800c\u4e0d\u662f\u5411\u6211\u4eec\u7684\u7aef\u70b9\u53d1\u5e03\u6570\u636e\u3002\u8981\u68c0\u7d22\u6570\u636e\uff0c\u7528\u6237\u5fc5\u987b\u8bbe\u7f6e\u4e00\u4e2a\u4ee3\u7406\u7aef\u70b9\uff0c\u5e76\u5411\u6240\u9700\u7684 URL \u53d1\u9001 GET \u8bf7\u6c42\u3002\u5fc5\u987b\u4f7f\u7528\u6807\u5934\u6dfb\u52a0\u5176\u4ed6\u53c2\u6570\u3002<\/li>\n<\/ul>\n<p>\u6211\u4eec\u63a8\u8350\u7684\u6570\u636e\u63d0\u53d6\u65b9\u6cd5\u662f\u00a0<a href=\"#push-pull\">\u63a8\u62c9\u5f0f<\/a>.<\/p>\n<hr \/>\n<h3 id=\"push-pull\">\u63a8\u62c9\u5f0f<\/h3>\n<p>\u8fd9\u662f\u6700\u7b80\u5355\u3001\u6700\u53ef\u9760\u3001\u6700\u503c\u5f97\u63a8\u8350\u7684\u6570\u636e\u4f20\u8f93\u65b9\u6cd5\u3002\u5728\u63a8\u62c9\u5f0f\u65b9\u6848\u4e2d\uff0c\u60a8\u5411\u6211\u4eec\u53d1\u9001\u67e5\u8be2\uff0c\u6211\u4eec\u5411\u60a8\u8fd4\u56de\u5de5\u4f5c\u00a0<code>\u672c\u6211<\/code>\u5de5\u4f5c\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u00a0<code>\u672c\u6211<\/code>\u00a0\u4e2d\u68c0\u7d22\u5185\u5bb9\u00a0<code>\/\u7ed3\u679c<\/code>\u00a0\u7aef\u70b9\u3002\u4f60\u53ef\u4ee5\u81ea\u5df1\u68c0\u67e5\u4f5c\u4e1a\u5b8c\u6210\u72b6\u6001\uff0c\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u80fd\u63a5\u53d7 POST \u67e5\u8be2\u7684\u7b80\u5355\u76d1\u542c\u5668\u3002<\/p>\n<p>\u8fd9\u6837\uff0c\u4e00\u65e6\u4f5c\u4e1a\u51c6\u5907\u5c31\u7eea\uff0c\u6211\u4eec\u5c31\u4f1a\u5411\u60a8\u53d1\u9001\u56de\u8c03\u6d88\u606f\u3002\u5728\u672c\u4f8b\u4e2d\uff0c\u7ed3\u679c\u5c06\u81ea\u52a8\u00a0<a href=\"#upload-to-storage\">\u4e0a\u4f20\u5230\u60a8\u7684 S3 \u5b58\u50a8\u6876<\/a>\u00a0\u540d\u4e3a\u00a0<code>\u60a8\u7684\u90ae\u7b52\u540d\u79f0<\/code>.<\/p>\n<hr \/>\n<h4 id=\"single-query\"><strong>\u5355\u4e00\u67e5\u8be2<\/strong><\/h4>\n<p>\u4ee5\u4e0b\u7aef\u70b9\u5c06\u5904\u7406\u5bf9\u4e00\u4e2a\u5173\u952e\u5b57\u6216 URL \u7684\u5355\u6b21\u67e5\u8be2\u3002API \u5c06\u8fd4\u56de\u4e00\u6761\u786e\u8ba4\u4fe1\u606f\uff0c\u5176\u4e2d\u5305\u542b\u4efb\u52a1\u4fe1\u606f\uff0c\u5305\u62ec\u4efb\u52a1\u00a0<code>\u672c\u6211<\/code>.\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u68c0\u67e5\u4efb\u52a1\u5b8c\u6210\u72b6\u6001\u00a0<code>\u672c\u6211<\/code>\u6216\u8005\uff0c\u60a8\u4e5f\u53ef\u4ee5\u8981\u6c42\u6211\u4eec\u5728\u626b\u63cf\u4efb\u52a1\u5b8c\u6210\u540e ping \u60a8\u7684\u56de\u8c03\u7aef\u70b9\uff0c\u65b9\u6cd5\u662f\u6dfb\u52a0\u00a0<code>\u56de\u8c03URL<\/code>\u00a0\u5728\u67e5\u8be2\u4e2d\u3002<\/p>\n<pre>\u90ae\u5bc4 https:\/\/data.oxylabs.io\/v1\/queries\r\n<\/pre>\n<p>\u60a8\u9700\u8981\u5728 JSON \u4e3b\u4f53\u4e2d\u5c06\u67e5\u8be2\u53c2\u6570\u4f5c\u4e3a\u6570\u636e\u53d1\u5e03\u3002<\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu_search\", \"domain\"\uff1a\"com\", \"query\"\uff1a\"adidas\", \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\uff0c\"storage_type\"\uff1a\"s3\"\uff0c\"storage_url\"\uff1a\"your_bucket_name\"}'\r\n<\/pre>\n<p>API \u5c06\u4ee5 JSON \u683c\u5f0f\u54cd\u5e94\u67e5\u8be2\u4fe1\u606f\uff0c\u5e76\u5c06\u5176\u6253\u5370\u5728\u54cd\u5e94\u4f53\u4e2d\uff0c\u4e0e\u6b64\u7c7b\u4f3c\uff1a<\/p>\n<pre>{\r\n  \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\u3001\r\n  \"client_id\"\uff1a5,\r\n  \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n  \"\u57df\"\uff1a\"com\"\u3001\r\n  \"geo_location\": null\u3001\r\n  \"id\"\uff1a\"12345678900987654321\",\r\n  \"\u9650\u5236\"\uff1a10,\r\n  \"locale\": null\u3001\r\n  \"pages\"\uff1a1,\r\n  \"render\": null\u3001\r\n  \"query\"\uff1a\"adidas\"\u3001\r\n  \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n  \"start_page\"\uff1a1,\r\n  \"\u72b6\u6001\"\uff1a\"pending\"\u3001\r\n  \"storage_type\"\uff1a\"s3\",\r\n  \"storage_url\"\uff1a\"YOUR_BUCKET_NAME\/12345678900987654321.json\",\r\n  \"subdomain\"\uff1a\"www\"\u3001\r\n  \"updated_at\"\uff1a\"2019-10-01 00:00:01\",\r\n  \"user_agent_type\"\uff1a\"desktop\"\u3001\r\n  \"_\u94fe\u63a5\"\uff1a[\r\n    {\r\n      \"rel\"\uff1a\"self\"\u3001\r\n      \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\",\r\n      \"method\"\uff1a\"GET\"\r\n    },\r\n    {\r\n      \"rel\"\uff1a\"results\"\u3001\r\n      \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results\",\r\n      \"method\"\uff1a\"GET\"\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"check-job-status\"><strong>\u68c0\u67e5\u5de5\u4f5c\u72b6\u6001<\/strong><\/h4>\n<p>\u5982\u679c\u60a8\u7684\u67e5\u8be2\u6709\u00a0<code>\u56de\u8c03URL<\/code>\u4e00\u65e6\u5b8c\u6210\u522e\u64e6\u4efb\u52a1\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u53d1\u9001\u4e00\u6761\u5305\u542b\u5185\u5bb9\u94fe\u63a5\u7684\u4fe1\u606f\u3002\u4f46\u662f\uff0c\u5982\u679c\u6ca1\u6709\u00a0<code>\u56de\u8c03URL<\/code>\u00a0\u5728\u67e5\u8be2\u4e2d\uff0c\u60a8\u9700\u8981\u81ea\u5df1\u68c0\u67e5\u4efb\u52a1\u72b6\u6001\u3002\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u00a0<code>href<\/code>\u00a0\u6839\u636e\u00a0<code>rel<\/code>:<code>\u81ea\u6211<\/code>\u00a0\u5728\u60a8\u5411\u6211\u4eec\u7684 API \u63d0\u4ea4\u67e5\u8be2\u540e\u6536\u5230\u7684\u54cd\u5e94\u4fe1\u606f\u4e2d\u3002\u5b83\u5e94\u8be5\u4e0e\u4e0b\u9762\u7684\u5185\u5bb9\u76f8\u4f3c\uff1a\u00a0<code>http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321<\/code>.<\/p>\n<pre>GET https:\/\/data.oxylabs.io\/v1\/queries\/{id}\r\n<\/pre>\n<p>\u67e5\u8be2\u8be5\u94fe\u63a5\u5c06\u8fd4\u56de\u5de5\u4f5c\u4fe1\u606f\uff0c\u5305\u62ec\u5176\u00a0<code>\u5730\u4f4d<\/code>.\u6709 3 \u79cd\u53ef\u80fd\u00a0<code>\u5730\u4f4d<\/code>\u00a0\u4ef7\u503c\u89c2<\/p>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table>\n<tbody>\n<tr>\n<td><code>\u672a\u51b3<\/code><\/td>\n<td>\u4efb\u52a1\u4ecd\u5728\u961f\u5217\u4e2d\uff0c\u5c1a\u672a\u5b8c\u6210\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>\u5b8c\u6210\u7684<\/code><\/td>\n<td>\u4efb\u52a1\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u5728\u00a0<code>href<\/code>\u00a0\u6839\u636e\u00a0<code>rel<\/code>:<code>\u6210\u679c<\/code>\u00a0:\u00a0<code>http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>\u6709\u95ee\u9898<\/code><\/td>\n<td>\u4efb\u52a1\u51fa\u4e86\u95ee\u9898\uff0c\u6211\u4eec\u65e0\u6cd5\u5b8c\u6210\uff0c\u5f88\u53ef\u80fd\u662f\u76ee\u6807\u7f51\u7ad9\u65b9\u9762\u7684\u670d\u52a1\u5668\u51fa\u9519\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre>curl --user user:pass1 'http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321'\r\n<\/pre>\n<p>API \u5c06\u5728\u54cd\u5e94\u6b63\u6587\u4e2d\u6253\u5370 JSON \u683c\u5f0f\u7684\u67e5\u8be2\u4fe1\u606f\u3002\u8bf7\u6ce8\u610f\uff0c\u4efb\u52a1\u00a0<code>\u5730\u4f4d<\/code>\u00a0\u6539\u4e3a\u00a0<code>\u5b8c\u6210\u7684<\/code>.\u73b0\u5728\u60a8\u53ef\u4ee5\u901a\u8fc7\u67e5\u8be2\u00a0<code>http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results<\/code>.<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u770b\u5230\u4efb\u52a1\u5df2\u88ab\u00a0<code>updated_at<\/code>\u00a0<code>2019-10-01 00:00:15<\/code>\u00a0- \u67e5\u8be2\u9700\u8981 14 \u79d2\u624d\u80fd\u5b8c\u6210\u3002<\/p>\n<pre>{\r\n  \"client_id\"\uff1a5,\r\n  \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n  \"\u57df\"\uff1a\"com\"\u3001\r\n  \"geo_location\": null\u3001\r\n  \"id\"\uff1a\"12345678900987654321\",\r\n  \"\u9650\u5236\"\uff1a10,\r\n  \"locale\": null\u3001\r\n  \"pages\"\uff1a1,\r\n  \"render\": null\u3001\r\n  \"query\"\uff1a\"adidas\"\u3001\r\n  \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n  \"start_page\"\uff1a1,\r\n  \"\u72b6\u6001\"\uff1a\"done\"\u3001\r\n  \"subdomain\"\uff1a\"www\"\u3001\r\n  \"updated_at\"\uff1a\"2019-10-01 00:00:15\",\r\n  \"user_agent_type\"\uff1a\"desktop\"\u3001\r\n  \"_\u94fe\u63a5\"\uff1a[\r\n    {\r\n      \"rel\"\uff1a\"self\"\u3001\r\n      \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\",\r\n      \"method\"\uff1a\"GET\"\r\n    },\r\n    {\r\n      \"rel\"\uff1a\"results\"\u3001\r\n      \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results\",\r\n      \"method\"\uff1a\"GET\"\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"retrieve-job-content\"><strong>\u68c0\u7d22\u5de5\u4f5c\u5185\u5bb9<\/strong><\/h4>\n<p>\u901a\u8fc7\u68c0\u67e5\u4f5c\u4e1a\u72b6\u6001\u6216\u63a5\u6536\u6211\u4eec\u7684\u56de\u8c03\uff0c\u4e00\u65e6\u77e5\u9053\u4f5c\u4e1a\u5df2\u51c6\u5907\u5c31\u7eea\uff0c\u60a8\u5c31\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b URL \u83b7\u53d6\u4f5c\u4e1a\u00a0<code>href<\/code>\u00a0\u6839\u636e\u00a0<code>rel<\/code>:<code>\u6210\u679c<\/code>\u00a0\u5728\u6211\u4eec\u7684\u521d\u59cb\u54cd\u5e94\u6216\u56de\u8c03\u4fe1\u606f\u4e2d\u3002\u770b\u8d77\u6765\u5e94\u8be5\u7c7b\u4f3c\u4e8e\u4e0b\u9762\u8fd9\u6837\uff1a\u00a0<code>http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results<\/code>.<\/p>\n<pre>GET https:\/\/data.oxylabs.io\/v1\/queries\/{id}\/results\r\n<\/pre>\n<p>\u901a\u8fc7\u8bbe\u7f6e \"\u4efb\u52a1\u72b6\u6001\"\uff0c\u53ef\u4ee5\u81ea\u52a8\u68c0\u7d22\u7ed3\u679c\uff0c\u800c\u65e0\u9700\u5b9a\u671f\u68c0\u67e5\u4efb\u52a1\u72b6\u6001\u3002\u00a0<a href=\"#callback\">\u56de\u8c03<\/a>\u00a0\u670d\u52a1\u3002\u7528\u6237\u9700\u8981\u6307\u5b9a\u8fd0\u884c\u56de\u8c03\u670d\u52a1\u7684\u670d\u52a1\u5668\u7684 IP \u6216\u57df\u3002\u5f53\u6211\u4eec\u7684\u7cfb\u7edf\u5b8c\u6210\u4e00\u9879\u4efb\u52a1\u65f6\uff0c\u5b83\u5c06\u5411\u6240\u63d0\u4f9b\u7684 IP \u6216\u57df\u53d1\u9001\u4e00\u6761\u4fe1\u606f\uff0c\u56de\u8c03\u670d\u52a1\u5c06\u4e0b\u8f7d\u7ed3\u679c\uff0c\u5982\u00a0<a href=\"#callback\">\u56de\u8c03\u5b9e\u73b0\u793a\u4f8b<\/a>.<\/p>\n<pre>curl --user user:pass1 'http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results'\r\n<\/pre>\n<p>API \u5c06\u8fd4\u56de\u5de5\u4f5c\u5185\u5bb9\uff1a<\/p>\n<pre>{\r\n  \"\u7ed3\u679c\"\uff1a[\r\n    {\r\n      \"content\"\uff1a\"&lt;!\r\n        \u5185\u5bb9\r\n      &quot;,\r\n      &quot;created_at&quot;\uff1a&quot;2019-10-01 00:00:01&quot;,\r\n      &quot;\u66f4\u65b0\u65f6\u95f4&quot;\uff1a&quot;2019-10-01 00:00:15&quot;,\r\n      &quot;\u9875&quot;\uff1a1,\r\n      &quot;url&quot;\uff1a&quot;https:\/\/www.baidu.com\/search?q=adidas&amp;hl=en&amp;gl=US&quot;\u3001\r\n      &quot;job_id&quot;\uff1a&quot;12345678900987654321&quot;,\r\n      &quot;status_code&quot;\uff1a200\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"callback\"><strong>\u56de\u8c03<\/strong><\/h4>\n<p>\u56de\u8c03\u662f\u4e00\u4e2a\u00a0<code>\u804c\u4f4d<\/code>\u00a0\u6211\u4eec\u4f1a\u5411\u60a8\u7684\u673a\u5668\u53d1\u9001\u8bf7\u6c42\uff0c\u544a\u77e5\u6570\u636e\u63d0\u53d6\u4efb\u52a1\u5df2\u5b8c\u6210\uff0c\u5e76\u63d0\u4f9b\u4e0b\u8f7d\u522e\u64e6\u5185\u5bb9\u7684 URL\u3002\u8fd9\u610f\u5473\u7740\u60a8\u4e0d\u518d\u9700\u8981\u00a0<a href=\"#check-job-status\">\u68c0\u67e5\u5de5\u4f5c\u72b6\u6001<\/a> \u624b\u52a8\u64cd\u4f5c\u3002\u4e00\u65e6\u6570\u636e\u5230\u9f50\uff0c\u6211\u4eec\u4f1a\u901a\u77e5\u60a8\uff0c\u60a8\u73b0\u5728\u9700\u8981\u505a\u7684\u5c31\u662f\u00a0<a href=\"#retrieve-job-content\">\u53d6\u56de<\/a>.<\/p>\n<pre># \u8bf7\u67e5\u770b Python \u548c PHP \u4ee3\u7801\u793a\u4f8b\u3002\r\n<\/pre>\n<p>\u56de\u8c03\u8f93\u51fa\u793a\u4f8b<\/p>\n<pre>{\r\n   \"created_at\":\"2019-10-01 00:00:01\",\r\n   \"updated_at\":\"2019-10-01 00:00:15\",\r\n   \"locale\":null\u3001\r\n   \"client_id\":163\u3001\r\n   \"user_agent_type\": \"desktop\"\u3001\r\n   \"source\": \"baidu_search\"\u3001\r\n   \"\u9875\u9762\":1\u3001\r\n   \"\u5b50\u57df\": \"www\"\u3001\r\n   \"status\": \"done\"\u3001\r\n   \"start_page\":1\u3001\r\n   \"render\":null\u3001\r\n   \"priority\":0\u3001\r\n   \"ttl\":0\u3001\r\n   \"origin\": \"api\"\u3001\r\n   \"persist\":true\u3001\r\n   \"id\":\"12345678900987654321\",\r\n   \"callback_url\": \"http:\/\/your.callback.url\/\"\u3001\r\n   \"query\": \"adidas\"\u3001\r\n   \"domain\": \"com\"\u3001\r\n   \"limit\":10\u3001\r\n   \"geo_location\":null\u3001\r\n   {...}\r\n   \"_links\":[\r\n      {\r\n         \"href\":\"https:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\",\r\n         \"method\": \"GET\"\u3001\r\n         \"rel\": \"self\"\r\n      },\r\n      {\r\n         \"href\":\"https:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results\",\r\n         \"method\": \"GET\"\u3001\r\n         \"rel\": \"results\" }\r\n      }\r\n   ],\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"batch-query\"><strong>\u6279\u91cf\u67e5\u8be2<\/strong><\/h4>\n<p>\u5b9e\u65f6\u722c\u866b\u8fd8\u652f\u6301\u6267\u884c\u591a\u4e2a\u5173\u952e\u5b57\uff0c\u6bcf\u6279\u6700\u591a\u53ef\u6267\u884c 1,000 \u4e2a\u5173\u952e\u5b57\u3002\u4ee5\u4e0b\u7aef\u70b9\u5c06\u5411\u63d0\u53d6\u961f\u5217\u63d0\u4ea4\u591a\u4e2a\u5173\u952e\u8bcd\u3002<\/p>\n<pre>\u90ae\u5bc4 https:\/\/data.oxylabs.io\/v1\/queries\/batch\r\n<\/pre>\n<p>\u60a8\u9700\u8981\u5728 JSON \u4e3b\u4f53\u4e2d\u5c06\u67e5\u8be2\u53c2\u6570\u4f5c\u4e3a\u6570\u636e\u53d1\u5e03\u3002<\/p>\n<p>\u7cfb\u7edf\u4f1a\u5c06\u6bcf\u4e2a\u5173\u952e\u8bcd\u4f5c\u4e3a\u4e00\u4e2a\u5355\u72ec\u8bf7\u6c42\u5904\u7406\u3002\u5982\u679c\u60a8\u63d0\u4f9b\u4e86\u56de\u8c03 URL\uff0c\u60a8\u5c06\u4e3a\u6bcf\u4e2a\u5173\u952e\u5b57\u6536\u5230\u5355\u72ec\u7684\u8c03\u7528\u3002\u5426\u5219\uff0c\u6211\u4eec\u7684\u521d\u59cb\u54cd\u5e94\u5c06\u5305\u542b\u5de5\u4f5c\u00a0<code>\u672c\u6211<\/code>\u7684\u6240\u6709\u5173\u952e\u5b57\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u53d1\u9001\u4e86 50 \u4e2a\u5173\u952e\u5b57\uff0c\u6211\u4eec\u5c06\u8fd4\u56de 50 \u4e2a\u552f\u4e00\u7684\u804c\u4f4d\u3002\u00a0<code>\u672c\u6211<\/code>s.<\/p>\n<p>\u91cd\u8981\uff01\u00a0<code>\u8be2\u95ee<\/code>\u00a0\u662f\u552f\u4e00\u4e00\u4e2a\u53ef\u4ee5\u6709\u591a\u4e2a\u503c\u7684\u53c2\u6570\u3002\u6240\u6709\u5176\u4ed6\u53c2\u6570\u5bf9\u4e8e\u8be5\u6279\u6b21\u67e5\u8be2\u90fd\u662f\u4e00\u6837\u7684\u3002<\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/queries\/batch' -H 'Content-Type: application\/json' -d '@keywords.json\r\n -d'@keywords.json'\uff08\u5173\u952e\u8bcd\r\n<\/pre>\n<p><code>keywords.json<\/code>\u00a0\u5185\u5bb9\uff1a<\/p>\n<pre>{\r\n   \"query\":[\r\n      \"\u963f\u8fea\u8fbe\u65af\"\u3001\r\n      \"\u8010\u514b\"\u3001\r\n      \"\u857e\u535a\u514b\"\r\n   ],\r\n   \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n   \"\u57df\"\uff1a\"com\"\u3001\r\n   \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\r\n}\r\n<\/pre>\n<p>API \u5c06\u4ee5 JSON \u683c\u5f0f\u54cd\u5e94\u67e5\u8be2\u4fe1\u606f\uff0c\u5e76\u5c06\u5176\u6253\u5370\u5728\u54cd\u5e94\u4f53\u4e2d\uff0c\u4e0e\u6b64\u7c7b\u4f3c\uff1a<\/p>\n<pre>{\r\n  \"\u67e5\u8be2\"\uff1a[\r\n    {\r\n      \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\u3001\r\n      {...}\r\n      \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n      \"\u57df\"\uff1a\"com\"\u3001\r\n      \"id\"\uff1a\"12345678900987654321\",\r\n      {...}\r\n      \"\u67e5\u8be2\"\uff1a\"\u963f\u8fea\u8fbe\u65af\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n      {...}\r\n          \"rel\"\uff1a\"results\"\u3001\r\n          \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678900987654321\/results\",\r\n          \"method\"\uff1a\"GET\"\r\n        }\r\n      ]\r\n    },\r\n    {\r\n      \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\u3001\r\n      {...}\r\n      \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n      \"\u57df\"\uff1a\"com\"\u3001\r\n      \"id\"\uff1a\"12345678901234567890\",\r\n      {...}\r\n      \"\u67e5\u8be2\"\uff1a\"NIKE\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n      {...}\r\n          \"rel\"\uff1a\"results\"\u3001\r\n          \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/12345678901234567890\/results\",\r\n          \"method\"\uff1a\"GET\"\r\n        }\r\n      ]\r\n    },\r\n    {\r\n      \"callback_url\"\uff1a\"https:\/\/your.callback.url\"\u3001\r\n      {...}\r\n      \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n      \"\u57df\"\uff1a\"com\"\u3001\r\n      \"id\"\uff1a\"01234567899876543210\",\r\n      {...}\r\n      \"\u67e5\u8be2\"\uff1a\"reebok\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"baidu_search\"\u3001\r\n      {...}\r\n          \"rel\"\uff1a\"results\"\u3001\r\n          \"href\"\uff1a\"http:\/\/data.oxylabs.io\/v1\/queries\/01234567899876543210\/results\",\r\n          \"method\"\uff1a\"GET\"\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"get-notifier-ip-address-list\"><strong>\u83b7\u53d6\u901a\u77e5\u7a0b\u5e8f IP \u5730\u5740\u5217\u8868<\/strong><\/h4>\n<p>\u60a8\u53ef\u80fd\u5e0c\u671b\u5c06\u5411\u60a8\u53d1\u9001\u56de\u8c03\u4fe1\u606f\u7684 IP \u5217\u5165\u767d\u540d\u5355\uff0c\u6216\u4e3a\u5176\u4ed6\u76ee\u7684\u83b7\u53d6\u8fd9\u4e9b IP \u7684\u5217\u8868\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u00a0<code>\u83b7\u53d6<\/code>\u5728\u8fd9\u4e2a\u7aef\u70b9\u4e0a\uff1a\u00a0<code>https:\/\/data.oxylabs.io\/v1\/info\/callbacker_ips<\/code>.<\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/info\/callbacker_ips'\r\n<\/pre>\n<p>API \u5c06\u8fd4\u56de\u5411\u60a8\u7684\u7cfb\u7edf\u53d1\u51fa\u56de\u8c03\u8bf7\u6c42\u7684 IP \u5217\u8868\uff1a<\/p>\n<pre>{\r\n    \"ips\"\uff1a[\r\n        \"x.x.x.x\"\u3001\r\n        \"y.y.y.y\"\r\n    ]\r\n}\r\n<\/pre>\n<hr \/>\n<h4 id=\"upload-to-storage\"><strong>\u4e0a\u4f20\u5230\u5b58\u50a8\u5668<\/strong><\/h4>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cRTC \u4efb\u52a1\u7ed3\u679c\u5b58\u50a8\u5728\u6211\u4eec\u7684\u6570\u636e\u5e93\u4e2d\u3002\u8fd9\u610f\u5473\u7740\u60a8\u9700\u8981\u67e5\u8be2\u6211\u4eec\u7684\u7ed3\u679c\u7aef\u70b9\u5e76\u81ea\u884c\u68c0\u7d22\u5185\u5bb9\u3002\u81ea\u5b9a\u4e49\u5b58\u50a8\u529f\u80fd\u5141\u8bb8\u60a8\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u81ea\u5df1\u7684\u4e91\u5b58\u50a8\u4e2d\u3002\u8be5\u529f\u80fd\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u60a8\u65e0\u9700\u4e3a\u4e86\u83b7\u53d6\u7ed3\u679c\u800c\u53d1\u51fa\u989d\u5916\u8bf7\u6c42\uff0c\u6240\u6709\u5185\u5bb9\u90fd\u4f1a\u76f4\u63a5\u5b58\u50a8\u5230\u60a8\u7684\u5b58\u50a8\u6876\u4e2d\u3002<\/p>\n<p>\u6211\u4eec\u652f\u6301\u4e9a\u9a6c\u900a S3 \u548c\u8c37\u6b4c\u4e91\u5b58\u50a8\u3002\u5982\u679c\u60a8\u60f3\u4f7f\u7528\u5176\u4ed6\u7c7b\u578b\u7684\u5b58\u50a8\uff0c\u8bf7\u8054\u7cfb\u60a8\u7684\u5ba2\u6237\u7ecf\u7406\uff0c\u8ba8\u8bba\u529f\u80fd\u4ea4\u4ed8\u65f6\u95f4\u8868\u3002<\/p>\n<p id=\"amazon-s3\"><strong>\u4e9a\u9a6c\u900a S3<\/strong><\/p>\n<p>\u8981\u5c06\u4f5c\u4e1a\u7ed3\u679c\u4e0a\u4f20\u5230 Amazon S3 \u5b58\u50a8\u6876\uff0c\u8bf7\u4e3a\u6211\u4eec\u7684\u670d\u52a1\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650\u3002\u4e3a\u6b64\uff0c\u8bf7\u8bbf\u95ee\u00a0<code>https:\/\/s3.console.aws.amazon.com\/ &gt; S3 &gt; \u5b58\u50a8 &gt; \u6876\u540d\u79f0\uff08\u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u65b0\u5efa\uff09 &gt; \u6743\u9650 &gt; \u6876\u7b56\u7565<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8268\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage.png\" alt=\"Oxylabs Real-Time Crawler for Baidu Upload to Storage\" width=\"485\" height=\"333\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage.png 485w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage-300x206.png 300w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/p>\n<p>\u60a8\u53ef\u4ee5\u5728\u6b64\u627e\u5230\u6c34\u6876\u653f\u7b56\u00a0<a class=\"custom_link\" href=\"https:\/\/docs.oxylabs.io\/resources\/s3_bucket_policy.json\" target=\"_blank\" rel=\"noopener\">JSON<\/a>\u00a0\u6216\u53f3\u4fa7\u7684\u4ee3\u7801\u793a\u4f8b\u533a\u3002\u4e0d\u8981\u5fd8\u8bb0\u5728\u00a0<code>\u60a8\u7684\u90ae\u7b52\u540d\u79f0<\/code>.\u901a\u8fc7\u8be5\u7b56\u7565\uff0c\u6211\u4eec\u53ef\u4ee5\u5411\u60a8\u7684\u90ae\u7b52\u5199\u5165\u5185\u5bb9\uff0c\u5141\u8bb8\u60a8\u8bbf\u95ee\u4e0a\u4f20\u7684\u6587\u4ef6\uff0c\u5e76\u4e86\u89e3\u90ae\u7b52\u7684\u4f4d\u7f6e\u3002<\/p>\n<p id=\"google-cloud-storage\"><strong>\u8c37\u6b4c\u4e91\u5b58\u50a8<\/strong><\/p>\n<p>\u8981\u5c06\u4f5c\u4e1a\u7ed3\u679c\u4e0a\u4f20\u5230\u60a8\u7684 Google Cloud Storage \u5b58\u50a8\u6876\uff0c\u8bf7\u4e3a\u6211\u4eec\u7684\u670d\u52a1\u8bbe\u7f6e\u7279\u6b8a\u6743\u9650\u3002\u4e3a\u6b64\uff0c\u8bf7\u4f7f\u7528\u00a0<code>\u5b58\u50a8.\u5bf9\u8c61.\u521b\u5efa<\/code>\u00a0\u6743\u9650\u5e76\u5c06\u5176\u5206\u914d\u7ed9 Oxylabs \u670d\u52a1\u5e10\u6237\u7535\u5b50\u90ae\u4ef6\u00a0<code>oxyserps-storage@oxyserps-storage.iam.gserviceaccount.com<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8270\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage1.png\" alt=\"Oxylabs Real-Time Crawler for Baidu Upload to Storage1\" width=\"479\" height=\"310\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage1.png 479w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage1-300x194.png 300w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8269\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage2.png\" alt=\"Oxylabs Real-Time Crawler for Baidu Upload to Storage2\" width=\"482\" height=\"670\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage2.png 482w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Upload-to-Storage2-216x300.png 216w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/p>\n<p id=\"usage\"><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong><\/p>\n<p>\u8981\u4f7f\u7528\u6b64\u529f\u80fd\uff0c\u8bf7\u5728\u8bf7\u6c42\u4e2d\u6307\u5b9a\u4e24\u4e2a\u9644\u52a0\u53c2\u6570\u3002\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\u00a0<a href=\"#direct\">\u8fd9\u91cc<\/a>.<\/p>\n<p>\u4e0a\u4f20\u8def\u5f84\u5982\u4e0b\u00a0<code>YOUR_BUCKET_NAME\/job_ID.json<\/code>.\u60a8\u53ef\u4ee5\u5728\u63d0\u4ea4\u8bf7\u6c42\u540e\u4ece\u6211\u4eec\u6536\u5230\u7684\u56de\u590d\u6b63\u6587\u4e2d\u627e\u5230\u804c\u4f4d ID\u3002\u5728\u00a0<a href=\"#single-query\">\u672c\u4f8b<\/a>\u00a0\u5de5\u4f5c\u7f16\u53f7\u4e3a\u00a0<code>12345678900987654321<\/code>.<\/p>\n<hr \/>\n<h3 id=\"realtime\">\u5b9e\u65f6<\/h3>\n<p>\u6570\u636e\u63d0\u4ea4\u65b9\u5f0f\u4e0e\u63a8\u62c9\u65b9\u5f0f\u76f8\u540c\uff0c\u4f46\u5728\u5b9e\u65f6\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u5c06\u5728\u8fde\u63a5\u6253\u5f00\u65f6\u8fd4\u56de\u5185\u5bb9\u3002\u60a8\u5411\u6211\u4eec\u53d1\u9001\u67e5\u8be2\uff0c\u8fde\u63a5\u4fdd\u6301\u6253\u5f00\uff0c\u6211\u4eec\u68c0\u7d22\u5185\u5bb9\u5e76\u53d1\u9001\u7ed9\u60a8\u3002\u5904\u7406\u7684\u7aef\u70b9\u5982\u4e0b\uff1a<\/p>\n<pre>\u90ae\u5bc4 https:\/\/realtime.oxylabs.io\/v1\/queries\r\n<\/pre>\n<p>\u5f00\u653e\u8fde\u63a5\u7684\u8d85\u65f6\u9650\u5236\u4e3a 150 \u79d2\uff0c\u56e0\u6b64\u5728\u6781\u5c11\u6570\u8d1f\u8f7d\u8f83\u91cd\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u65e0\u6cd5\u786e\u4fdd\u5c06\u6570\u636e\u53d1\u9001\u7ed9\u60a8\u3002<\/p>\n<p>\u60a8\u9700\u8981\u5728 JSON \u4e3b\u4f53\u4e2d\u5c06\u67e5\u8be2\u53c2\u6570\u4f5c\u4e3a\u6570\u636e\u53d1\u5e03\u3002\u8be6\u60c5\u8bf7\u53c2\u9605\u793a\u4f8b\u3002<\/p>\n<pre>curl --user user:pass1 'https:\/\/realtime.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu_search\", \"domain\"\uff1a\"com\", \"query\"\uff1a\"adidas\"}'\r\n<\/pre>\n<p>\u6253\u5f00\u8fde\u63a5\u65f6\u5c06\u8fd4\u56de\u7684\u54cd\u5e94\u4f53\u793a\u4f8b\uff1a<\/p>\n<pre>{\r\n  \"\u7ed3\u679c\"\uff1a[\r\n    {\r\n      \"content\"\uff1a\"\r\n      \u5185\u5bb9\r\n      \"\r\n      \"created_at\"\uff1a\"2019-10-01 00:00:01\",\r\n      \"\u66f4\u65b0\u65f6\u95f4\"\uff1a\"2019-10-01 00:00:15\",\r\n      \"id\": null\u3001\r\n      \"page\"\uff1a1,\r\n      \"url\"\uff1a\"https:\/\/www.baidu.com\/search?q=adidas&amp;hl=en&amp;gl=US\"\u3001\r\n      \"job_id\"\uff1a\"12345678900987654321\",\r\n      \"status_code\"\uff1a200\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<hr \/>\n<h3 id=\"superapi\">\u8d85\u7ea7\u7528\u6237\u63a5\u53e3<\/h3>\n<p>\u5982\u679c\u60a8\u66fe\u7ecf\u4f7f\u7528\u8fc7\u666e\u901a\u4ee3\u7406\u8fdb\u884c\u6570\u636e\u641c\u522e\uff0c\u90a3\u4e48\u96c6\u6210 SuperAPI \u4f20\u8f93\u65b9\u6cd5\u5c06\u8f7b\u800c\u6613\u4e3e\u3002\u53ea\u9700\u5c06\u6211\u4eec\u7684\u5165\u53e3\u8282\u70b9\u7528\u4f5c\u4ee3\u7406\uff0c\u4f7f\u7528\u5b9e\u65f6\u722c\u866b\u51ed\u636e\u8fdb\u884c\u6388\u6743\uff0c\u5e76\u5ffd\u7565\u8bc1\u4e66\u5373\u53ef\u3002\u5728\u00a0<code>cURL<\/code>\u00a0\u8fd9\u662f\u00a0<code>-k<\/code>\u00a0\u6216\u00a0<code>--\u4e0d\u5b89\u5168<\/code>.\u60a8\u7684\u6570\u636e\u5c06\u901a\u8fc7\u5f00\u653e\u8fde\u63a5\u53d1\u9001\u7ed9\u60a8\u3002<\/p>\n<pre>GET realtime.oxylabs.io:60000\r\n<\/pre>\n<p>\u8d85\u7ea7\u7528\u6237\u63a5\u53e3\u53ea\u652f\u6301\u5c11\u91cf\u53c2\u6570\uff0c\u56e0\u4e3a\u5b83\u00a0<strong>\u4ec5\u9002\u7528\u4e8e\u00a0<a href=\"#direct\">\u76f4\u63a5<\/a>\u00a0\u6570\u636e\u6e90<\/strong>\u00a0\u5176\u4e2d\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684 URL\u3002\u8fd9\u4e9b\u53c2\u6570\u5e94\u4f5c\u4e3a\u6807\u5934\u53d1\u9001\u3002\u8fd9\u662f\u53ef\u63a5\u53d7\u7684\u53c2\u6570\u5217\u8868\uff1a<\/p>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table>\n<tbody>\n<tr>\n<td><code>X-OxySERPs-User-Agent-Type<\/code><\/td>\n<td>\u867d\u7136\u65e0\u6cd5\u6307\u660e\u7279\u5b9a\u7684 User-Agent\uff0c\u4f46\u60a8\u53ef\u4ee5\u8ba9\u6211\u4eec\u77e5\u9053\u60a8\u4f7f\u7528\u7684\u6d4f\u89c8\u5668\u548c\u5e73\u53f0\u3002\u652f\u6301\u7684\u7528\u6237\u4ee3\u7406\u5217\u8868\u5982\u4e0b\u6240\u793a\u00a0<a href=\"#user-agent\">\u8fd9\u91cc<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u5982\u679c\u60a8\u5728\u8bbe\u7f6e\u8d85\u7ea7\u7528\u6237\u63a5\u53e3\u65f6\u9700\u8981\u5e2e\u52a9\uff0c\u8bf7\u81f4\u7535\u00a0<a class=\"custom_link\" href=\"mailto:support@oxylabs.io\" target=\"_blank\" rel=\"nofollow noopener\">support@oxylabs.io<\/a>.<\/p>\n<pre>curl -k -x realtime.oxylabs.io:60000 -U user:pass1 -H \"X-OxySERPs-User-Agent-Type: desktop_chrome\" \"https:\/\/www.baidu.com\/search?q=adidas\"\r\n<\/pre>\n<hr \/>\n<h2 id=\"data-sources\">\u6570\u636e\u6765\u6e90<\/h2>\n<p>\u4f7f\u7528\u5b9e\u65f6\u722c\u866b\u4ece\u767e\u5ea6\u68c0\u7d22\u6570\u636e\u6709\u591a\u79cd\u65b9\u6cd5\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5411\u6211\u4eec\u63d0\u4f9b\u5b8c\u6574\u7684 URL\u00a0<a href=\"#direct\">\u76f4\u63a5<\/a>\u6216\u901a\u8fc7\u4e13\u95e8\u6784\u5efa\u7684\u6570\u636e\u6e90\u6307\u5b9a\u53c2\u6570\uff0c\u4f8b\u5982\u00a0<a href=\"#search\">\u641c\u7d22<\/a>\u8d2d\u7269\u4ea7\u54c1\u6216\u56fe\u7247\u3002<\/p>\n<p>\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u9009\u62e9\u54ea\u79cd\u65b9\u5f0f\uff0c\u8bf7\u7ed9\u6211\u4eec\u7559\u8a00\u00a0<a class=\"custom_link\" href=\"mailto:support@oxylabs.io\" target=\"_blank\" rel=\"nofollow noopener\">support@oxylabs.io<\/a>\u00a0\u6216\u8054\u7cfb\u60a8\u7684\u5ba2\u6237\u7ecf\u7406\u3002<\/p>\n<hr \/>\n<h3 id=\"direct\">\u76f4\u63a5<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8272 alignnone\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Direct.png\" alt=\"Oxylabs Real-Time Crawler for Baidu Direct\" width=\"425\" height=\"29\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Direct.png 425w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Direct-300x20.png 300w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><\/p>\n<p><code>\u767e\u5ea6<\/code>\u00a0\u6e90\u8bbe\u8ba1\u7528\u4e8e\u68c0\u7d22\u5404\u79cd\u767e\u5ea6\u9875\u9762\u7684\u76f4\u63a5 URL \u5185\u5bb9\u3002\u8fd9\u610f\u5473\u7740\u60a8\u53ef\u4ee5\u5411\u6211\u4eec\u63d0\u4f9b\u6240\u9700\u767e\u5ea6\u9875\u9762\u7684\u76f4\u63a5 URL\uff0c\u800c\u65e0\u9700\u53d1\u9001\u591a\u4e2a\u53c2\u6570\u3002\u6211\u4eec\u4e0d\u4f1a\u5265\u79bb\u4efb\u4f55\u53c2\u6570\u6216\u4ee5\u4efb\u4f55\u5176\u4ed6\u65b9\u5f0f\u66f4\u6539\u60a8\u7684 URL\u3002<\/p>\n<p><span class=\"test\">\u67e5\u8be2\u53c2\u6570<\/span><\/p>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table width=\"216\">\n<tbody>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u53c2\u6570<\/strong><\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u8bf4\u660e<\/strong><\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u9ed8\u8ba4\u503c<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u6d88\u606f\u6765\u6e90<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u6570\u636e\u6765\u6e90<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u767e\u5ea6<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u7f51\u5740<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u76f4\u63a5 URL\uff08\u94fe\u63a5\uff09\u81f3\u767e\u5ea6\u9875\u9762<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u7528\u6237\u4ee3\u7406\u7c7b\u578b<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u8bbe\u5907\u7c7b\u578b\u548c\u6d4f\u89c8\u5668\u3002\u5b8c\u6574\u5217\u8868\u5982\u4e0b<a href=\"#user-agent\">\u00a0\u8fd9\u91cc\u3002<\/a><\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u684c\u9762<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u56de\u8c03URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u56de\u8c03\u7aef\u70b9\u7684 URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8\u7c7b\u578b<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8\u670d\u52a1\u63d0\u4f9b\u5546\u3002\u6211\u4eec\u652f\u6301 Amazon S3 \u548c Google Cloud Storage\u3002\u8fd9\u4e9b\u5b58\u50a8\u670d\u52a1\u63d0\u4f9b\u5546\u7684 storage_type \u53c2\u6570\u503c\u5206\u522b\u4e3a s3 \u548c gcs\u3002\u5b8c\u6574\u7684\u5b9e\u73b0\u53ef\u4ee5\u5728\u00a0<a href=\"#upload-to-storage\">\u4e0a\u4f20\u5230\u5b58\u50a8\u5668\u00a0<\/a>\u9875\u3002\u6b64\u529f\u80fd\u53ea\u80fd\u901a\u8fc7\u63a8\u62c9\uff08\u56de\u8c03\uff09\u65b9\u6cd5\u4f7f\u7528\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u60a8\u7684\u5b58\u50a8\u6876\u540d\u79f0\u3002\u4ec5\u9002\u7528\u4e8e\u63a8\u633d\uff08\u56de\u8c03\uff09\u65b9\u6cd5\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" colspan=\"3\" width=\"216\">\u00a0\u00a0\u00a0- \u6240\u9700\u53c2\u6570<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u5728\u672c\u4f8b\u4e2d\uff0c\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\u5c06\u68c0\u7d22\u767e\u5ea6\u641c\u7d22\u5173\u952e\u5b57\u00a0<code>\u963f\u8fea\u8fbe\u65af<\/code>\u00a0\u63a8\u62c9\u6cd5<\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu\", \"url\"\uff1a\"http:\/\/www.baidu.com\/s?ie=utf-8&amp;f=8&amp;rsv_bp=1&amp;rsv_idx=1&amp;ch=&amp;tn=baidu&amp;bar=&amp;wd=adidas\"}'\r\n<\/pre>\n<p>\u4ee5\u4e0b\u662f\u5b9e\u65f6\u6a21\u5f0f\u4e0b\u7684\u76f8\u540c\u793a\u4f8b\uff1a<\/p>\n<pre>curl --user user:pass1 'https:\/\/realtime.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu\", \"url\"\uff1a\"http:\/\/www.baidu.com\/s?ie=utf-8&amp;f=8&amp;rsv_bp=1&amp;rsv_idx=1&amp;ch=&amp;tn=baidu&amp;bar=&amp;wd=adidas\"}'\r\n<\/pre>\n<p>\u5e76\u901a\u8fc7\u8d85\u7ea7\u7528\u6237\u63a5\u53e3\uff08SuperAPI\uff09\uff1a<\/p>\n<pre>curl -k -x realtime.oxylabs.io:60000 -U user:pass1 \"http:\/\/www.baidu.com\/s?ie=utf-8&amp;f=8&amp;rsv_bp=1&amp;rsv_idx=1&amp;ch=&amp;tn=baidu&amp;bar=&amp;wd=adidas\"\r\n<\/pre>\n<hr \/>\n<h3 id=\"search\">\u641c\u7d22<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8273 alignnone\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Search.png\" alt=\"Oxylabs Real-Time Crawler for Baidu Search\" width=\"425\" height=\"26\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Search.png 425w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler-for-Baidu-Search-300x18.png 300w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><\/p>\n<p><code>\u767e\u5ea6\u641c\u7d22<\/code>\u00a0\u8be5\u6e90\u4ee3\u7801\u65e8\u5728\u68c0\u7d22 HTML \u683c\u5f0f\u7684\u767e\u5ea6\u641c\u7d22\u7ed3\u679c\uff08SERP\uff09\u3002<\/p>\n<p><span class=\"test\">\u67e5\u8be2\u53c2\u6570<\/span><\/p>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table width=\"216\">\n<tbody>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u53c2\u6570<\/strong><\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u8bf4\u660e<\/strong><\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><strong>\u9ed8\u8ba4\u503c<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u6d88\u606f\u6765\u6e90<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u6570\u636e\u6765\u6e90<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u767e\u5ea6\u641c\u7d22<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u9886\u57df<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u57df\u540d\u672c\u5730\u5316<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u7f51<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u8be2\u95ee<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">UTF \u7f16\u7801\u7684\u5173\u952e\u5b57<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">start_page<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u8d77\u59cb\u9875\u7801<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u9875\u9762<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u8981\u68c0\u7d22\u7684\u9875\u6570<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u9650\u989d<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u6bcf\u9875\u8981\u68c0\u7d22\u7684\u7ed3\u679c\u6570\u91cf<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">10<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u7528\u6237\u4ee3\u7406\u7c7b\u578b<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u8bbe\u5907\u7c7b\u578b\u548c\u6d4f\u89c8\u5668\u3002\u5b8c\u6574\u5217\u8868\u5982\u4e0b<a href=\"#user-agent\">\u00a0\u8fd9\u91cc\u3002<\/a><\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u684c\u9762<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u56de\u8c03URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u56de\u8c03\u7aef\u70b9\u7684 URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8\u7c7b\u578b<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8\u670d\u52a1\u63d0\u4f9b\u5546\u3002\u6211\u4eec\u652f\u6301 Amazon S3 \u548c Google Cloud Storage\u3002\u8fd9\u4e9b\u5b58\u50a8\u670d\u52a1\u63d0\u4f9b\u5546\u7684 storage_type \u53c2\u6570\u503c\u5206\u522b\u4e3a s3 \u548c gcs\u3002\u5b8c\u6574\u7684\u5b9e\u73b0\u53ef\u4ee5\u5728\u00a0<a href=\"#upload-to-storage\">\u4e0a\u4f20\u5230\u5b58\u50a8\u5668<\/a>\u00a0\u9875\u3002\u6b64\u529f\u80fd\u53ea\u80fd\u901a\u8fc7\u63a8\u62c9\uff08\u56de\u8c03\uff09\u65b9\u6cd5\u4f7f\u7528\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5b58\u50a8URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u60a8\u7684\u5b58\u50a8\u6876\u540d\u79f0\u3002\u4ec5\u9002\u7528\u4e8e\u63a8\u633d\uff08\u56de\u8c03\uff09\u65b9\u6cd5\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" colspan=\"3\" width=\"216\">\u00a0\u00a0\u00a0- \u6240\u9700\u53c2\u6570<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u5b9e\u65f6\u722c\u866b\u5411 baidu.com \u53d1\u51fa\u8bf7\u6c42\uff0c\u68c0\u7d22\u5173\u952e\u8bcd adidas \u4ece\u7b2c 11 \u4f4d\u5230\u7b2c 20 \u4f4d\u7684\u641c\u7d22\u7ed3\u679c\u9875\u9762\u3002\u6570\u636e\u68c0\u7d22\u4efb\u52a1\u6210\u529f\u5b8c\u6210\u540e\uff0c\u5b9e\u65f6\u722c\u866b\u4f1a\u5c06\u539f\u59cb HTML \u9875\u9762\u8f93\u51fa\u7684\u4e0b\u8f7d URL \u53d1\u5e03\u5230 your.callback.url\u3002<\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu_search\", \"domain\"\uff1a\"com\", \"query\"\uff1a\"adidas\", \"start_page\"\uff1a11, \"pages\"\uff1a10, \"callback_url\"\uff1a\"https:\/\/your.callback.url\"}'\r\n<\/pre>\n<p>\u4ee5\u4e0b\u662f\u5b9e\u65f6\u6a21\u5f0f\u4e0b\u7684\u76f8\u540c\u793a\u4f8b\uff1a<\/p>\n<pre>curl --user user:pass1 'https:\/\/realtime.oxylabs.io\/v1\/queries' -H \"Content-Type: application\/json\"\r\n -d '{\"source\"\uff1a\"baidu_search\", \"domain\"\uff1a\"com\", \"query\"\uff1a\"adidas\", \"start_page\"\uff1a11, \"pages\"\uff1a10, \"callback_url\"\uff1a\"https:\/\/your.callback.url\"}'\r\n<\/pre>\n<hr \/>\n<h2 id=\"parameter-values\">\u53c2\u6570\u503c<\/h2>\n<h3 id=\"user-agent\">\u7528\u6237\u4ee3\u7406<\/h3>\n<p>\u4e0b\u8f7d\u5b8c\u6574\u5217\u8868\u00a0<code>\u7528\u6237\u4ee3\u7406\u7c7b\u578b<\/code>\u00a0JSON \u4e2d\u7684\u503c\u00a0<a class=\"custom_link\" href=\"https:\/\/docs.oxylabs.io\/resources\/user_agent_type.json\" target=\"_blank\" rel=\"noopener\">\u8fd9\u91cc<\/a>.<\/p>\n<pre>[\r\n  {\r\n    \"user_agent_type\"\uff1a\"\u684c\u9762\"\u3001\r\n    \"\u63cf\u8ff0\"\uff1a\"\u968f\u673a\u684c\u9762\u6d4f\u89c8\u5668\u7528\u6237\u4ee3\u7406\"\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"desktop_firefox\"\u3001\r\n    \"\u63cf\u8ff0\"\uff1a\"\u6700\u65b0\u7248\u684c\u9762\u706b\u72d0\u6d4f\u89c8\u5668\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"desktop_chrome\"\u3001\r\n    \"description\"\uff1a\"\u6700\u65b0\u7248\u684c\u9762 Chrome \u6d4f\u89c8\u5668\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"desktop_opera\"\u3001\r\n    \"description\"\uff1a\"\u6700\u65b0\u7248\u672c\u684c\u9762 Opera \u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"desktop_edge\"\u3001\r\n    \"description\"\uff1a\"\u684c\u9762\u8fb9\u7f18\u6700\u65b0\u7248\u672c\u4e4b\u4e00\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"desktop_safari\"\u3001\r\n    \"description\"\uff1a\"\u684c\u9762 Safari \u6700\u65b0\u7248\u672c\u4e4b\u4e00\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"mobile\"\u3001\r\n    \"description\"\uff1a\"\u968f\u673a\u79fb\u52a8\u6d4f\u89c8\u5668\u7528\u6237\u4ee3\u7406\"\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"mobile_android\"\u3001\r\n    \"description\"\uff08\u63cf\u8ff0\uff09\uff1a\"\u6700\u65b0\u7248\u672c\u5b89\u5353\u6d4f\u89c8\u5668\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"mobile_ios\"\u3001\r\n    \"\u63cf\u8ff0\"\uff1a\"\u6700\u65b0\u7248\u672c iPhone \u6d4f\u89c8\u5668\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"\u5e73\u677f\u7535\u8111\"\u3001\r\n    \"\u63cf\u8ff0\"\uff1a\"\u968f\u673a\u5e73\u677f\u7535\u8111\u6d4f\u89c8\u5668\u7528\u6237\u4ee3\u7406\"\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"tablet_android\"\u3001\r\n    \"\u63cf\u8ff0\"\uff1a\"\u6700\u65b0\u7248\u672c\u5b89\u5353\u5e73\u677f\u7535\u8111\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  },\r\n  {\r\n    \"user_agent_type\"\uff1a\"tablet_ios\"\u3001\r\n    \"description\"\uff1a\"\u6700\u65b0\u7248\u672c iPad \u5e73\u677f\u7535\u8111\u7684\u968f\u673a\u7528\u6237\u4ee3\u7406\"\u3002\r\n  }\r\n]\r\n<\/pre>\n<hr \/>\n<h2 id=\"account-status\">\u8d26\u6237\u72b6\u6001<\/h2>\n<h3 id=\"usage-statistics\">\u4f7f\u7528\u7edf\u8ba1<\/h3>\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u67e5\u8be2\u4ee5\u4e0b\u7aef\u70b9\u627e\u5230\u60a8\u7684\u4f7f\u7528\u7edf\u8ba1\u6570\u636e\uff1a<\/p>\n<pre>GET https:\/\/data.oxylabs.io\/v1\/stats\r\n<\/pre>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cAPI \u5c06\u8fd4\u56de\u6240\u6709\u65f6\u95f4\u7684\u4f7f\u7528\u7edf\u8ba1\u6570\u636e\u3002\u6dfb\u52a0\u00a0<code>group_by=month<\/code>\u00a0\u5c06\u8fd4\u56de\u6708\u5ea6\u7edf\u8ba1\u6570\u636e\uff0c\u800c\u00a0<code>group_by=day<\/code>\u00a0\u5c06\u8fd4\u56de\u6bcf\u65e5\u6570\u5b57\u3002<\/p>\n<p>\u8be5\u67e5\u8be2\u5c06\u8fd4\u56de\u6240\u6709\u65f6\u95f4\u7684\u7edf\u8ba1\u6570\u636e\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u00a0<code>group_by=day<\/code>\u00a0\u6216\u00a0<code>group_by=month<\/code><\/p>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/stats'\r\n<\/pre>\n<p>\u8f93\u51fa\u793a\u4f8b<\/p>\n<pre>{\r\n    \"\u6570\u636e\"\uff1a{\r\n        \"sources\"\uff1a[\r\n            {\r\n                \"realtime_results_count\"\uff1a\"90\",\r\n                \"results_count\"\uff1a\"10\",\r\n                \"\u6807\u9898\"\uff1a\"\u767e\u5ea6\"\r\n            },\r\n            {\r\n                \"realtime_results_count\"\uff1a\"19\",\r\n                \"results_count\"\uff1a\"87\",\r\n                \"\u6807\u9898\"\uff1a\"baidu_search\r\n            }\r\n        ]\r\n    },\r\n    \"\u5143\"\uff1a{\r\n        \"group_by\": null\r\n    }\r\n}\r\n<\/pre>\n<hr \/>\n<h3 id=\"limits\">\u9650\u5236<\/h3>\n<p>\u4ee5\u4e0b\u7ec8\u7aef\u5c06\u63d0\u4f9b\u60a8\u7684\u6bcf\u6708\u627f\u8bfa\u4fe1\u606f\u4ee5\u53ca\u5df2\u4f7f\u7528\u7684\u91d1\u989d\uff1a<\/p>\n<pre>GET https:\/\/data.oxylabs.io\/v1\/stats\/limits\r\n<\/pre>\n<pre>curl --user user:pass1 'https:\/\/data.oxylabs.io\/v1\/stats\/limits'\r\n<\/pre>\n<p>\u8f93\u51fa\u793a\u4f8b<\/p>\n<pre>{\r\n    \"monthly_requests_commitment\"\uff1a4500000,\r\n    \"used_requests\"\uff1a985000\r\n}\r\n<\/pre>\n<hr \/>\n<h2 id=\"response-codes\">\u54cd\u5e94\u4ee3\u7801<\/h2>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table>\n<thead>\n<tr>\n<th>\u4ee3\u7801<\/th>\n<th>\u73b0\u72b6<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>204<\/code><\/td>\n<td>\u65e0\u5185\u5bb9<\/td>\n<td>\u60a8\u6b63\u5728\u5c1d\u8bd5\u68c0\u7d22\u4e00\u9879\u5c1a\u672a\u5b8c\u6210\u7684\u4efb\u52a1\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>400<\/code><\/td>\n<td>\u591a\u79cd\u9519\u8bef\u4fe1\u606f<\/td>\n<td>\u8bf7\u6c42\u7ed3\u6784\u9519\u8bef\uff0c\u53ef\u80fd\u662f\u53c2\u6570\u62fc\u5199\u9519\u8bef\u6216\u503c\u65e0\u6548\u3002\u54cd\u5e94\u4f53\u5c06\u663e\u793a\u66f4\u5177\u4f53\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>401<\/code><\/td>\n<td>\u672a\u63d0\u4f9b\u6388\u6743\u6807\u5934\"\/\"\u6388\u6743\u6807\u5934\u65e0\u6548\"\/\"\u672a\u627e\u5230\u5ba2\u6237\u7aef<\/td>\n<td>\u7f3a\u5c11\u6388\u6743\u6807\u5934\u6216\u767b\u5f55\u51ed\u8bc1\u4e0d\u6b63\u786e\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>403<\/code><\/td>\n<td>\u7981\u6b62<\/td>\n<td>\u60a8\u7684\u5e10\u6237\u65e0\u6cd5\u8bbf\u95ee\u6b64\u8d44\u6e90\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>404<\/code><\/td>\n<td>\u672a\u627e\u5230<\/td>\n<td>\u60a8\u8981\u67e5\u627e\u7684\u804c\u4f4d\u7f16\u53f7\u5df2\u4e0d\u518d\u53ef\u7528\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>429<\/code><\/td>\n<td>\u8bf7\u6c42\u592a\u591a<\/td>\n<td>\u8d85\u51fa\u8d39\u7387\u9650\u5236\u3002\u8bf7\u8054\u7cfb\u60a8\u7684\u5ba2\u6237\u7ecf\u7406\u4ee5\u63d0\u9ad8\u9650\u989d\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>500<\/code><\/td>\n<td>\u672a\u77e5\u9519\u8bef<\/td>\n<td>\u65e0\u6cd5\u63d0\u4f9b\u670d\u52a1\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>524<\/code><\/td>\n<td>\u8d85\u65f6<\/td>\n<td>\u65e0\u6cd5\u63d0\u4f9b\u670d\u52a1\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>612<\/code><\/td>\n<td>\u672a\u5b9a\u4e49\u7684\u5185\u90e8\u9519\u8bef<\/td>\n<td>\u51fa\u4e86\u70b9\u95ee\u9898\uff0c\u6211\u4eec\u672a\u80fd\u5b8c\u6210\u60a8\u63d0\u4ea4\u7684\u4efb\u52a1\u3002\u60a8\u53ef\u4ee5\u514d\u8d39\u518d\u8bd5\u4e00\u6b21\uff0c\u56e0\u4e3a\u6211\u4eec\u4e0d\u4f1a\u5411\u60a8\u6536\u53d6\u4efb\u4f55\u8d39\u7528\u3002\u00a0<code>\u6709\u95ee\u9898<\/code>\u00a0\u5de5\u4f5c\u5982\u679c\u8fd8\u4e0d\u884c\uff0c\u8bf7\u8054\u7cfb\u6211\u4eec\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>613<\/code><\/td>\n<td>\u91cd\u8bd5\u6b21\u6570\u8fc7\u591a\u540e\u51fa\u73b0\u6545\u969c<\/td>\n<td>\u6211\u4eec\u66fe\u5c1d\u8bd5\u6e05\u9664\u60a8\u63d0\u4ea4\u7684\u4f5c\u4e1a\uff0c\u4f46\u5728\u8fbe\u5230\u91cd\u8bd5\u9650\u5236\u540e\u653e\u5f03\u4e86\u3002\u60a8\u53ef\u4ee5\u514d\u8d39\u518d\u8bd5\u4e00\u6b21\uff0c\u56e0\u4e3a\u6211\u4eec\u4e0d\u4f1a\u5411\u60a8\u6536\u53d6\u4efb\u4f55\u8d39\u7528\u3002\u00a0<code>\u6709\u95ee\u9898<\/code>\u00a0\u5de5\u4f5c\u5982\u679c\u8fd8\u4e0d\u884c\uff0c\u8bf7\u8054\u7cfb\u6211\u4eec\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u4e91\u5b58\u50a8\u4e0a\u4f20\u54cd\u5e94\u4ee3\u7801\uff1a<\/p>\n<div class=\"su-table su-table-responsive su-table-alternate\">\n<table>\n<thead>\n<tr>\n<th>\u4ee3\u7801<\/th>\n<th>\u73b0\u72b6<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>10001<\/code><\/td>\n<td>\u610f\u5916\u5f02\u5e38<\/td>\n<td>\u53d1\u751f\u4e86\u4e25\u91cd\u7684\u9519\u8bef\u3002\u6211\u4eec\u53ef\u80fd\u5df2\u7ecf\u77e5\u9053\uff0c\u5e76\u6b63\u5728\u4fee\u590d\u3002\u65e0\u8bba\u5982\u4f55\uff0c\u8bf7\u544a\u8bc9\u6211\u4eec\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>13000<\/code><\/td>\n<td>\u4e0a\u4f20\u6210\u529f<\/td>\n<td>\u4e00\u5207\u987a\u5229\uff01<\/td>\n<\/tr>\n<tr>\n<td><code>13001<\/code><\/td>\n<td>\u4e0a\u4f20\u5931\u8d25<\/td>\n<td>\u6211\u4eec\u65e0\u6cd5\u4e0a\u4f20\u60a8\u7684\u5de5\u4f5c\u7ed3\u679c\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>13102<\/code><\/td>\n<td>\u6ca1\u6709\u8fd9\u6837\u7684\u9053\u8def<\/td>\n<td>\u6211\u4eec\u627e\u4e0d\u5230\u8fd9\u6837\u540d\u5b57\u7684\u6c34\u6876\u3002\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>13103<\/code><\/td>\n<td>\u62d2\u7edd\u8bbf\u95ee<\/td>\n<td>Bucket \u6ca1\u6709\u6240\u9700\u7684\u6743\u9650\u3002\u8981\u4e86\u89e3\u5982\u4f55\u6388\u4e88\u6211\u4eec\u5fc5\u8981\u7684\u6743\u9650\uff0c\u8bf7\u53c2\u9605\u00a0<a href=\"#upload-to-storage\">\u8fd9\u91cc<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<hr \/>\n<h4>\u53c2\u8003\u8d44\u6599<\/h4>\n<ul>\n<li><a href=\"https:\/\/docs.oxylabs.io\/rtc\/source\/baidu\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/docs.oxylabs.io\/rtc\/source\/baidu\/index.html<\/a><\/li>\n<li><a href=\"https:\/\/docs.oxylabs.io\/rtc\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/docs.oxylabs.io\/rtc\/index.html<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<hr \/>\n<blockquote><p><strong>\u514d\u8d23\u58f0\u660e<\/strong> \u8fd9\u90e8\u5206\u5185\u5bb9\u4e3b\u8981\u6765\u81ea\u5546\u5bb6\u3002\u5982\u679c\u5546\u5bb6\u4e0d\u5e0c\u671b\u5728\u6211\u7684\u7f51\u7ad9\u4e0a\u663e\u793a\uff0c\u8bf7 <a href=\"https:\/\/www.proxysp.com\/contact-us\/\">\u8054\u7cfb\u6211\u4eec<\/a> \u5220\u9664\u60a8\u7684\u5185\u5bb9\u3002<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>\u4f60\u77e5\u9053\u5982\u4f55\u4f7f\u7528 OxyLabs Real-time Crawler for Baidu \u5417\uff1f\u8fd9\u662f OxyLabs \u5b98\u65b9\u6700\u5168\u9762\u7684\u4ecb\u7ecd\u3002\u5feb\u901f\u5165\u95e8 \u5b9e\u65f6\u722c\u866b\u5185\u7f6e\u4e86...<\/p>\n<p class=\"read-more\"> <a class=\"ast-button\" href=\"https:\/\/proxysp.com\/zh\/oxylabs-baidu-real-time-crawler\/\"> <span class=\"screen-reader-text\">\u5982\u4f55\u4f7f\u7528\u767e\u5ea6\u5b9e\u65f6\u722c\u866b [\u7b2c 4 \u90e8\u5206]\uff1aOxylabs \u7528\u4e8e\u767e\u5ea6\u7684\u5b9e\u65f6\u722c\u866b<\/span> \u67e5\u770b\u5168\u6587 \"<\/a><\/p>","protected":false},"author":1,"featured_media":7629,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[],"modified_by":"proxysp","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-Real-Time-Crawler.jpg","_links":{"self":[{"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts\/7635"}],"collection":[{"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/comments?post=7635"}],"version-history":[{"count":7,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts\/7635\/revisions"}],"predecessor-version":[{"id":8277,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts\/7635\/revisions\/8277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/media\/7629"}],"wp:attachment":[{"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/media?parent=7635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/categories?post=7635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/tags?post=7635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}