{"id":7636,"date":"2022-05-16T07:11:18","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"https:\/\/www.proxysp.com\/?p=7636"},"modified":"2022-05-16T07:11:18","modified_gmt":"1970-01-01T00:00:00","slug":"oxylabs-html-crawler-api","status":"publish","type":"post","link":"https:\/\/proxysp.com\/zh\/oxylabs-html-crawler-api\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 HTML \u722c\u866b API [\u7b2c 5 \u90e8\u5206]\uff1a\u7528\u4e8e\u5176\u4ed6\u7f51\u7ad9\u7684 OxyLabs \u5b9e\u65f6\u6293\u53d6\u5668"},"content":{"rendered":"<blockquote><p>\u4f60\u77e5\u9053\u5982\u4f55\u4f7f\u7528 OxyLabs \u5b9e\u65f6\u7f51\u9875\u722c\u866b\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>HTML Crawler API \u53ef\u5e2e\u52a9\u60a8\u8fdb\u884c\u7e41\u91cd\u7684\u6570\u636e\u68c0\u7d22\u64cd\u4f5c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 HTML Crawler API \u8bbf\u95ee\u5404\u79cd\u516c\u5171\u9875\u9762\u3002\u5b83\u80fd\u6beb\u4e0d\u8d39\u529b\u5730\u63d0\u53d6\u7f51\u7edc\u6570\u636e\uff0c\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u5ef6\u8fdf\u6216\u9519\u8bef\u3002<\/p>\n<p>HTML \u6293\u53d6\u7a0b\u5e8f\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\u4f7f\u7528\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 HTML Crawler API \u6700\u5feb\u7684\u65b9\u6cd5\u3002\u60a8\u5c06\u5411\u00a0<code>https:\/\/ip.oxylabs.io<\/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\"universal\", \"url\"\uff1a\"https:\/\/ip.oxylabs.io\"}'\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<div class=\"inside-code\">\n<h2 id=\"integration-methods\">\u6574\u5408\u65b9\u6cd5<\/h2>\n<p>HTML Crawler API \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<\/div>\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\\\r\n'https:\/\/data.oxylabs.io\/v1\/queries' \\\r\n-H \"Content-Type: application\/json\"\\\r\n-d '{\"source\"\uff1a\"universal\", \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/python\", \"callback_url\"\uff1a\"https:\/\/your.callback.url\", \"storage_type\"\uff1a\"s3\", \"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  \"parse\": false\u3001\r\n  \"render\": null\u3001\r\n  \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\u3001\r\n  \"\u6e90\"\uff1a\"universal\"\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>\u6211\u4eec\u4f1a\u5728\u626b\u63cf\u4efb\u52a1\u5b8c\u6210\u540e\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\u6b64\u94fe\u63a5\u5c06\u8fd4\u56de\u5de5\u4f5c\u4fe1\u606f\uff0c\u5305\u62ec\u5176\u00a0<code>\u5730\u4f4d<\/code>.\u6709\u4e09\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\u73b0\u4e86\u95ee\u9898\uff0c\u6211\u4eec\u65e0\u6cd5\u5b8c\u6210\u4efb\u52a1\uff0c\u5f88\u53ef\u80fd\u662f\u7531\u4e8e\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\u4f53\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  \"parse\": false\u3001\r\n  \"render\": null\u3001\r\n  \"url\"\uff1a\"sofa\"\u3001\r\n  \"\u6e90\"\uff1a\"universal\"\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\u7684\u72b6\u6001\uff0c\u4e00\u65e6\u77e5\u9053\u53ef\u4ee5\u68c0\u7d22\u4f5c\u4e1a\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528\u00a0<code>href<\/code>\u00a0\u6839\u636e\u00a0<code>rel<\/code>:<code>\u6210\u679c<\/code>\u00a0\u5728\u6211\u4eec\u7684\u521d\u59cb\u54cd\u5e94\u4e2d\u3002\u5b83\u770b\u8d77\u6765\u5e94\u8be5\u4e0e\u6b64\u7c7b\u4f3c\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:\/\/stackoverflow.com\/questions\/tagged\/python&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>\u00a0\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   \"\u6e90\": \"universal\"\u3001\r\n   \"pages\":1\u3001\r\n   \"\u5b50\u57df\": \"www\"\u3001\r\n   \"status\": \"done\"\u3001\r\n   \"start_page\":1\u3001\r\n   \"parse\":0\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   \"url\": \"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\u3001\r\n   \"domain\": \"de\"\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>HTML \u6293\u53d6\u5668 API \u8fd8\u652f\u6301\u6267\u884c\u591a\u4e2a\u5173\u952e\u8bcd\uff0c\u6bcf\u6279\u6700\u591a\u53ef\u6267\u884c 1,000 \u4e2a\u5173\u952e\u8bcd\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\u5b57\u4f5c\u4e3a\u4e00\u4e2a\u5355\u72ec\u8bf7\u6c42\u6765\u5904\u7406\u3002\u5982\u679c\u60a8\u63d0\u4f9b\u4e86\u56de\u8c03 URL\uff0c\u5219\u6bcf\u4e2a\u5173\u952e\u5b57\u90fd\u4f1a\u6536\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u8c03\u7528\u3002\u5426\u5219\uff0c\u6211\u4eec\u7684\u521d\u59cb\u54cd\u5e94\u5c06\u5305\u542b\u4efb\u52a1\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' \\\r\n -d'@keywords.json'\u3002\r\n<\/pre>\n<p><code>keywords.json<\/code>\u00a0\u5185\u5bb9\uff1a<\/p>\n<pre>{\r\n   \"url\":[\r\n      \"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\u3001\r\n      \"https:\/\/stackoverflow.com\/questions\/tagged\/golang\"\u3001\r\n      \"https:\/\/stackoverflow.com\/questions\/tagged\/php\"\r\n   ],\r\n   \"\u6e90\"\uff1a\"\u901a\u7528\"\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      \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"universal\"\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      \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/golang\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"universal\"\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      \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/php\"\u3001\r\n      \"\u6765\u6e90\"\uff1a\"universal\"\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-8280\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage1.png\" alt=\"Oxylabs HTML Crawler API Upload to Storage1\" width=\"482\" height=\"323\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage1.png 482w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage1-300x201.png 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/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-8281\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage2.png\" alt=\"Oxylabs HTML Crawler API Upload to Storage2\" width=\"483\" height=\"306\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage2.png 483w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage2-300x190.png 300w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8282\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage3.png\" alt=\"Oxylabs HTML Crawler API Upload to Storage3\" width=\"486\" height=\"668\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage3.png 486w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Upload-to-Storage3-218x300.png 218w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/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<pre>{\r\n    \"\u7248\u672c\"\uff1a\"2012-10-17\",\r\n    \"Id\"\uff1a\"Policy1577442634787\",\r\n    \"\u58f0\u660e\"\uff1a[\r\n        {\r\n            \"Sid\"\uff1a\"Stmt1577442633719\"\u3001\r\n            \"\u6548\u679c\"\uff1a\"\u5141\u8bb8\"\u3001\r\n            \"\u6821\u957f\"\uff1a{\r\n                \"AWS\"\uff1a\"arn:aws:iam::324311890426:user\/oxylabs.s3.uploader\"\r\n            },\r\n            \"Action\"\uff1a\"s3:GetBucketLocation\"\u3001\r\n            \"\u8d44\u6e90\"\uff1a\"arn:aws:s3:::YOUR_BUCKET_NAME\" }.\r\n        },\r\n        {\r\n            \"Sid\"\uff1a\"Stmt1577442633719\"\u3001\r\n            \"\u6548\u679c\"\uff1a\"\u5141\u8bb8\"\u3001\r\n            \"\u6821\u957f\"\uff1a{\r\n                \"AWS\"\uff1a\"arn:aws:iam::324311890426:user\/oxylabs.s3.uploader\"\r\n            },\r\n            \"Action\"\uff1a[\r\n                \"s3:PutObject\"\u3001\r\n                \"s3:PutObjectAcl\"\u3002\r\n            ],\r\n            \"\u8d44\u6e90\"\uff1a\"arn:aws:s3:::YOUR_BUCKET_NAME\/*\"\u3002\r\n        }\r\n    ]\r\n}\r\n<\/pre>\n<hr \/>\n<h3 id=\"realtime\">\u5b9e\u65f6<\/h3>\n<p>\u6570\u636e\u63d0\u4ea4\u4e0e\u63a8\u62c9\u5f0f\u65b9\u6cd5\u76f8\u540c\uff0c\u4f46\u4f7f\u7528\u5b9e\u65f6\u65b9\u6cd5\u65f6\uff0c\u6211\u4eec\u5c06\u5728\u8fde\u63a5\u6253\u5f00\u65f6\u8fd4\u56de\u5185\u5bb9\u3002\u60a8\u5411\u6211\u4eec\u53d1\u9001\u4e00\u4e2a\u67e5\u8be2\uff0c\u8fde\u63a5\u4fdd\u6301\u6253\u5f00\uff0c\u6211\u4eec\u68c0\u7d22\u5185\u5bb9\u5e76\u5c06\u5176\u53d1\u9001\u7ed9\u60a8\u3002\u5904\u7406\u6b64\u95ee\u9898\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 100 \u79d2\u3002\u56e0\u6b64\uff0c\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\"universal\", \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/python\"}'\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:\/\/stackoverflow.com\/questions\/tagged\/python\"\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\u60a8\u53ea\u9700\u5c06\u6211\u4eec\u7684\u5165\u53e3\u8282\u70b9\u7528\u4f5c\u4ee3\u7406\uff0c\u4f7f\u7528 HTML Crawler API \u51ed\u636e\u8fdb\u884c\u6388\u6743\uff0c\u7136\u540e\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\u4e00\u4efd\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_type\">\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\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e0e\u6211\u4eec\u8054\u7cfb\u00a0<a class=\"custom_link\" href=\"mailto:support@oxylabs.io\" target=\"_blank\" rel=\"nofollow noopener\">support@oxylabs.io<\/a>.<\/p>\n<pre>curl -k \\\r\n-x realtime.oxylabs.io:60000\\\r\n-U user:pass1\r\n-H \"X-OxySERPs-User-Agent-Type: desktop_chrome\" \\\r\n\"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\r\n<\/pre>\n<hr \/>\n<h2 id=\"content-type\">\u5185\u5bb9\u7c7b\u578b<\/h2>\n<p>HTML \u6293\u53d6\u7a0b\u5e8f API \u8fd4\u56de\u00a0<strong>\u539f\u59cbHTML<\/strong>.<\/p>\n<hr \/>\n<h3 id=\"download-images\">\u4e0b\u8f7d\u56fe\u7247<\/h3>\n<p>\u53ef\u4ee5\u901a\u8fc7 HTML Crawler API \u4e0b\u8f7d\u56fe\u50cf\u3002\u5982\u679c\u901a\u8fc7 SuperAPI \u4e0b\u8f7d\uff0c\u53ea\u9700\u5c06\u8f93\u51fa\u4fdd\u5b58\u5230\u56fe\u7247\u6269\u5c55\u540d\u5373\u53ef\u3002\u4f8b\u5982<\/p>\n<p><code>curl -k -x realtime.oxylabs.io:60000 -U user:pass1 \"https:\/\/example.com\/image.jpg\" &gt;&gt; image.jpg<\/code><\/p>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u00a0<a href=\"#push-pull\">\u63a8\u62c9\u5f0f<\/a>\u00a0\u6216\u00a0<a href=\"#realtime\">\u5b9e\u65f6<\/a>\u00a0\u65b9\u6cd5\uff0c\u60a8\u9700\u8981\u6dfb\u52a0\u00a0<code>content_encoding<\/code>\u00a0\u53c2\u6570\u7684\u503c\u4e3a\u00a0<code>base64<\/code>.\u6536\u5230\u7ed3\u679c\u540e\uff0c\u60a8\u9700\u8981\u89e3\u7801\u6765\u81ea\u00a0<code>\u5185\u5bb9<\/code>\u00a0\u8f6c\u6362\u6210\u5b57\u8282\u5e76\u4fdd\u5b58\u4e3a\u56fe\u50cf\u6587\u4ef6\u3002\u53f3\u4fa7\u6709\u4e00\u4e2a Python \u793a\u4f8b\u3002<\/p>\n<hr \/>\n<h2 id=\"data-sources\">\u6570\u636e\u6765\u6e90<\/h2>\n<p>HTML Crawler API \u63a5\u53d7 URL \u4ee5\u53ca\u5176\u4ed6\u53c2\u6570\uff0c\u5982 User-Agent \u7c7b\u578b\u3001\u4ee3\u7406\u4f4d\u7f6e\u7b49\u3002\u8bf7\u53c2\u9605\u6b64\u65b9\u6cd5\uff0c\u6211\u4eec\u5c06\u5176\u79f0\u4e3a <a href=\"#direct\">\u76f4\u63a5<\/a>\u4e0b\u6587\u5c06\u5bf9\u6b64\u8fdb\u884c\u8bf4\u660e\u3002<\/p>\n<p>HTML Crawler API \u80fd\u591f\u5728\u522e\u64e6\u65f6\u6e32\u67d3 JavaScript\u3002\u8fd9\u6837\uff0c\u60a8\u5c31\u80fd\u4ece\u7f51\u9875\u4e2d\u83b7\u53d6\u66f4\u591a\u6570\u636e\uff0c\u5e76\u83b7\u5f97\u5c4f\u5e55\u622a\u56fe\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5bf9\u6587\u4ef6\u7684\u4efb\u4f55\u90e8\u5206\u6709\u7591\u95ee\uff0c\u8bf7\u81f4\u7535\u6211\u4eec\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-8283 alignnone\" src=\"https:\/\/www.proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Direct.png\" alt=\"Oxylabs HTML Crawler API Direct\" width=\"429\" height=\"25\" srcset=\"https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Direct.png 429w, https:\/\/proxysp.com\/wp-content\/uploads\/2021\/09\/Oxylabs-HTML-Crawler-API-Direct-300x17.png 300w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/p>\n<p><code>\u4e07\u6709<\/code>\u00a0\u6e90\u7684\u76ee\u7684\u662f\u68c0\u7d22\u4e92\u8054\u7f51\u4e0a\u4efb\u4f55 URL \u7684\u5185\u5bb9\u3002\u00a0<code>\u804c\u4f4d<\/code>-\u5c06 JSON \u683c\u5f0f\u7684\u53c2\u6570\u53d1\u9001\u5230\u4ee5\u4e0b\u7aef\u70b9\uff0c\u5c06\u628a\u6307\u5b9a\u7684 URL \u63d0\u4ea4\u5230\u63d0\u53d6\u961f\u5217\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\">\u53c2\u6570<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u8bf4\u660e<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u9ed8\u8ba4\u503c<\/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\">\u4e07\u6709<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u7f51\u5740<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u901a\u7528\u7f51\u9875\u7684\u76f4\u63a5 URL\uff08\u94fe\u63a5<\/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\u00a0<a href=\"#user_agent_type\">\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\">\u5730\u7406\u4f4d\u7f6e<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u7528\u4e8e\u68c0\u7d22\u6570\u636e\u7684\u4ee3\u7406\u5730\u7406\u4f4d\u7f6e\u3002\u652f\u6301\u4f4d\u7f6e\u7684\u5b8c\u6574\u5217\u8868\u5982\u4e0b\u00a0<a href=\"#geo_location\">\u8fd9\u91cc\u3002<\/a><\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5730\u70b9<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u6b63\u5982 Accept-Language \u6807\u5934\u6240\u671f\u671b\u7684\u90a3\u6837\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u7ed9\u4e88<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u542f\u7528 JavaScript \u6e32\u67d3\u3002\u5728\u76ee\u6807\u9700\u8981 JavaScript \u52a0\u8f7d\u5185\u5bb9\u65f6\u4f7f\u7528\u3002\u4ec5\u9002\u7528\u4e8e\u63a8\u62c9\uff08\u53c8\u79f0\u56de\u8c03\uff09\u65b9\u6cd5\u3002\u8be5\u53c2\u6570\u6709\u4e24\u4e2a\u53ef\u7528\u503c\uff1ahtml\uff08\u83b7\u53d6\u539f\u59cb\u8f93\u51fa\uff09\u548c png\uff08\u83b7\u53d6 Base64 \u7f16\u7801\u7684\u622a\u56fe\uff09\u3002<\/td>\n<td style=\"font-weight: 400;\" width=\"72\"><\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">content_encoding<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">\u5982\u679c\u8981\u4e0b\u8f7d\u56fe\u50cf\uff0c\u8bf7\u6dfb\u52a0\u6b64\u53c2\u6570\u3002\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\u00a0<a href=\"#download-images\">\u8fd9\u91cc\u3002<\/a><\/td>\n<td style=\"font-weight: 400;\" width=\"72\">base64<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">Base64 \u7f16\u7801\u7684 POST \u8bf7\u6c42\u6b63\u6587\u3002\u5b83\u53ea\u6709\u5728 http_method \u8bbe\u7f6e\u4e3a post \u65f6\u624d\u6709\u7528\u3002<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u5185\u5bb9<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u9012\u4e0a\u81ea\u5df1\u7684\u997c\u5e72<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u997c\u5e72<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u6307\u660e\u662f\u5426\u5e0c\u671b\u626b\u63cf\u7a0b\u5e8f\u8ddf\u8e2a\u91cd\u5b9a\u5411\uff08\u5e26\u6709\u76ee\u6807 URL \u7684 3xx \u54cd\u5e94\uff09\uff0c\u4ee5\u83b7\u53d6\u91cd\u5b9a\u5411\u94fe\u672b\u7aef URL \u7684\u5185\u5bb9\u3002<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">follow_redirects<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u4f20\u9012\u81ea\u5df1\u7684\u6807\u5934<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u9875\u7709<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u5982\u679c\u60a8\u60f3\u901a\u8fc7 Universal scraper \u5411\u76ee\u6807 URL \u53d1\u51fa POST \u8bf7\u6c42\uff0c\u8bf7\u5c06\u5176\u8bbe\u7f6e\u4e3a \"\u53d1\u5e03\"\u3002<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u83b7\u53d6<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">http_method<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u5982\u679c\u60a8\u60f3\u5728\u591a\u4e2a\u8bf7\u6c42\u4e2d\u4f7f\u7528\u540c\u4e00\u4e2a\u4ee3\u7406\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b64\u53c2\u6570\u3002\u53ea\u9700\u5c06\u4f1a\u8bdd\u8bbe\u7f6e\u4e3a\u4efb\u610f\u5b57\u7b26\u4e32\uff0c\u6211\u4eec\u5c31\u4f1a\u4e3a\u8be5 ID \u5206\u914d\u4e00\u4e2a\u4ee3\u7406\uff0c\u5e76\u6700\u591a\u4fdd\u7559 10 \u5206\u949f\u3002\u4e4b\u540e\uff0c\u5982\u679c\u60a8\u4f7f\u7528\u76f8\u540c\u7684\u4f1a\u8bdd ID \u53d1\u51fa\u53e6\u4e00\u4e2a\u8bf7\u6c42\uff0c\u6211\u4eec\u5c31\u4f1a\u4e3a\u8be5\u7279\u5b9a\u4f1a\u8bdd ID \u5206\u914d\u4e00\u4e2a\u65b0\u7684\u4ee3\u7406\u3002<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">session_id<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u80cc\u666f<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">\u5b9a\u4e49\u4e00\u4e2a\u81ea\u5b9a\u4e49 HTTP \u54cd\u5e94\u4ee3\u7801\uff08\u6216\u5176\u4e2d\u7684\u51e0\u4e2a\uff09\uff0c\u6211\u4eec\u5e94\u6839\u636e\u8be5\u4ee3\u7801\u8ba4\u4e3a\u522e\u64e6\u6210\u529f\u5e76\u5c06\u5185\u5bb9\u8fd4\u56de\u7ed9\u60a8\u3002\u5982\u679c\u60a8\u5e0c\u671b\u6211\u4eec\u8fd4\u56de 503 \u9519\u8bef\u9875\u9762\u6216\u5728\u5176\u4ed6\u4e00\u4e9b\u975e\u6807\u51c6\u60c5\u51b5\u4e0b\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f88\u6709\u7528\u3002<\/td>\n<td style=\"font-weight: 400;\" rowspan=\"2\" width=\"72\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u6210\u529f\u72b6\u6001\u4ee3\u7801<\/td>\n<\/tr>\n<tr>\n<td style=\"font-weight: 400;\" width=\"72\">\u56de\u8c03URL<\/td>\n<td style=\"font-weight: 400;\" width=\"72\">URL \u5230\u60a8\u7684\u56de\u8c03\u7aef\u70b9\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\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>\u5728\u672c\u4f8b\u4e2d\uff0c\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\u5c06\u4ee5\u63a8\u62c9\u65b9\u5f0f\u68c0\u7d22\u4e00\u4e2a\u901a\u7528\u4ea7\u54c1\u9875\u9762\u3002\u6240\u6709\u53ef\u7528\u53c2\u6570\u90fd\u5305\u542b\u5728\u5185\uff08\u5c3d\u7ba1\u5728\u540c\u4e00\u8bf7\u6c42\u4e2d\u5e76\u975e\u603b\u662f\u5fc5\u8981\u6216\u517c\u5bb9\uff09\uff0c\u4ee5\u4fbf\u8ba9\u60a8\u4e86\u89e3\u5982\u4f55\u683c\u5f0f\u5316\u60a8\u7684\u8bf7\u6c42\uff1a<\/p>\n<pre>curl --user user:pass1\r\n'https:\/\/data.oxylabs.io\/v1\/queries' \\\r\n-H \"Content-Type: application\/json\"\\\r\n -d '{\"source\": \"universal\", \"url\": \"https:\/\/stackoverflow.com\/questions\/tagged\/python\", \"user_agent_type\": \"mobile\", \"context\":[{\"key\": \"headers\", \"value\":{\"Accept-Language\": \"en-US\", \"Content-Type\": \"application\/octet-stream\", \"Custom-Header\": \"custom header content\"}},{\"key\": \"cookies\", \"value\":[{\"key\": \"NID\", \"value\"\uff1a\"1234567890\"},{\"key\":\"1P JAR\",\"value\":\"0987654321\"}]},{\"key\":\"follow_redirects\",\"value\":true},{\"key\":\"http_method\",\"value\":\"post\"},{\"key\":\"content\",\"value\":\"YmFzZTY0RW5jb2RlZFBPU1RCb2R5\"},{\"key\":\"successful_status_codes\",\"value\":[808,909]}]}\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\r\n'https:\/\/data.oxylabs.io\/v1\/queries' \\\r\n-H \"Content-Type: application\/json\"\\\r\n-d '{\"source\"\uff1a\"universal\", \"url\"\uff1a\"https:\/\/stackoverflow.com\/questions\/tagged\/python\", \"user_agent_type\"\uff1a\"mobile\", \"context\"\uff1a{\"key\"\uff1a\"headers\", \"value\": [\"Accept-Language\"\uff1a\"en-US\"\uff0c\"Content-Type\"\uff1a\"application\/octet-stream\"\uff0c\"Custom-Header\"\uff1a\"\u81ea\u5b9a\u4e49\u6807\u9898\u5185\u5bb9\"]}\uff0c{\"key\"\uff1a\"cookies\"\uff0c\"value\"\uff1a[{\"key\"\uff1a\"NID\"\uff0c\"\u503c\"\uff1a\"1234567890\"}\uff0c{\"key\"\uff1a\"1P JAR\"\uff0c\"\u503c\"\uff1a\"0987654321\"}\uff0c{\"key\"\uff1a\"follow_redirects\", \"value\": true}, {\"key\"\uff1a\"http_method\", \"value\"\uff1a\"post\"}, {\"key\"\uff1a\"\u5185\u5bb9\"\uff0c\"\u503c\"\uff1a\"base64EncodedPOSTBody\"}, {\"key\"\uff1a\"successful_status_codes\", \"value\": [303, 808, 909]}]}]}'\r\n<\/pre>\n<p>\u5e76\u901a\u8fc7\u8d85\u7ea7\u7528\u6237\u63a5\u53e3\uff08SuperAPI\uff09\uff1a<\/p>\n<pre># GET \u8bf7\u6c42\u53ef\u4ee5\u5982\u4e0b\u6240\u793a\uff1a\r\ncurl -k \\\r\n-x http:\/\/realtime.oxylabs.io:60000 \\\r\n-U user:pass1\r\n\"https:\/\/stackoverflow.com\/questions\/tagged\/python\" \\\r\n-H \"X-OxySERPs-Session-Id\uff1a1234567890abcdef\"\\H\r\n-H \"X-OxySERPs-Geo-Location\uff1aIndia\" \uff08\u5370\u5ea6\r\n-H \"Accept-Language: en-US\"\\\r\n-H \"Content-Type: application\/octet-stream\" \uff08\u5185\u5bb9\u7c7b\u578b\uff1a\u5e94\u7528\u7a0b\u5e8f\/\u516b\u8fdb\u5236\u6d41\r\n-H \"Custom-Header: custom header content\" \uff08\u81ea\u5b9a\u4e49\u5934\u5185\u5bb9\r\n-H \"Cookie\uff1anid=1234567890; 1p_jar=0987654321\" \\\\H \"X-Status-Code.\r\n-H \"X-Status-Code\uff1a303, 808, 909\"\r\n\r\n# POST\u8bf7\u6c42\u5177\u6709\u76f8\u540c\u7684\u7ed3\u6784\uff0c\u4f46\u5305\u542b\u4e00\u4e2a\u53c2\u6570\uff0c\u6307\u5b9a\u5b83\u662f\u4e00\u4e2aPOST\u8bf7\u6c42\uff1a\r\ncurl -X POST \\\r\n-k \\\r\n-x http:\/\/realtime.oxylabs.io:60000 \\\r\n-U user:pass1 \"https:\/\/stackoverflow.com\/questions\/tagged\/python\"\\\r\n-H \"X-OxySERPs-Session-Id\uff1a1234567890abcdef\" \\\r\n-H \"X-OxySERPs-Geo-Location\uff1aIndia\" \uff08\u5370\u5ea6\r\n-H \"Custom-Header: custom header content\" \uff08\u81ea\u5b9a\u4e49\u5934\u5185\u5bb9\r\n-H \"Cookie\uff1anid=1234567890; 1p_jar=0987654321\" \\\\H \"X-Status Code.\r\n-H \"X-Status-Code\uff1a303, 808, 909\"\r\n<\/pre>\n<hr \/>\n<h2 id=\"parameter-values\">\u53c2\u6570\u503c<\/h2>\n<h3 id=\"geo_location\">\u5730\u7406\u4f4d\u7f6e<\/h3>\n<p>\u652f\u6301\u7684\u5730\u7406\u4f4d\u7f6e\u5b8c\u6574\u5217\u8868\u4ee5 CSV \u683c\u5f0f\u63d0\u4f9b\u00a0<a class=\"custom_link\" href=\"https:\/\/docs.oxylabs.io\/resources\/universal-supported-geo_location-values.csv\" target=\"_blank\" rel=\"noopener\">\u8fd9\u91cc<\/a>.<\/p>\n<pre>\"\u963f\u62c9\u4f2f\u8054\u5408\u914b\u957f\u56fd\r\n\"\u963f\u5c14\u5df4\u5c3c\u4e9a\r\n\"\u4e9a\u7f8e\u5c3c\u4e9a\r\n\"\u5b89\u54e5\u62c9\r\n\"\u963f\u6839\u5ef7\r\n\"\u6fb3\u5927\u5229\u4e9a\r\n...\r\n\"\u4e4c\u62c9\u572d\r\n\"\u4e4c\u5179\u522b\u514b\u65af\u5766\r\n\"\u59d4\u5185\u745e\u62c9\u73bb\u5229\u74e6\u5c14\u5171\u548c\u56fd\r\n\u8d8a\u5357\r\n\"\u5357\u975e\"\r\n\"\u6d25\u5df4\u5e03\u97e6\r\n<\/pre>\n<hr \/>\n<h3 id=\"http_method\">HTTP_Method<\/h3>\n<p>\u901a\u7528\u722c\u866b\u652f\u6301\u4e24\u79cd HTTP(S) \u65b9\u6cd5\uff1a\u00a0<code>\u83b7\u53d6<\/code>\u00a0(\u9ed8\u8ba4\uff09\u548c\u00a0<code>\u804c\u4f4d<\/code>.<\/p>\n<pre>\"GET\"\u3001\r\n\"POST\r\n<\/pre>\n<hr \/>\n<h3 id=\"render\">\u6e32\u67d3<\/h3>\n<p>Universal Crawler \u53ef\u6e32\u67d3 Javascript \u5e76\u8fd4\u56de\u6e32\u67d3\u7684 HTML \u6587\u6863\u6216 PNG \u7f51\u9875\u622a\u56fe\u3002<\/p>\n<pre>\"html\"\u3001\r\n\"png\r\n<\/pre>\n<hr \/>\n<h3 id=\"user_agent_type\">User_Agent_Type<\/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>\u6b64\u67e5\u8be2\u5c06\u8fd4\u56de\u6240\u6709\u65f6\u95f4\u7684\u7edf\u8ba1\u6570\u636e\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u4ee5\u4e0b\u4efb\u4e00\u9009\u9879\u6765\u67e5\u8be2\u6bcf\u65e5\u548c\u6bcf\u6708\u7684\u4f7f\u7528\u91cf\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\"\u901a\u7528\"\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\u7aef\u70b9\u5c06\u63d0\u4f9b\u60a8\u7684\u6bcf\u6708\u627f\u8bfa\u4fe1\u606f\u4ee5\u53ca\u5df2\u4f7f\u7528\u7684\u627f\u8bfa\u989d\u5ea6\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\u3002\u5982\u679c\u65e0\u6548\uff0c\u8bf7\u4e0e\u6211\u4eec\u8054\u7cfb\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\u3002\u5982\u679c\u65e0\u6548\uff0c\u8bf7\u4e0e\u6211\u4eec\u8054\u7cfb\u3002<\/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\/html-crawler-api\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/docs.oxylabs.io\/rtc\/source\/html-crawler-api\/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 \u5b9e\u65f6\u7f51\u9875\u722c\u866b\u5417\uff1f\u8fd9\u662f OxyLabs \u5b98\u65b9\u6700\u5168\u9762\u7684\u4ecb\u7ecd\u3002\u5feb\u901f\u542f\u52a8 HTML Crawler API ...<\/p>\n<p class=\"read-more\"> <a class=\"ast-button\" href=\"https:\/\/proxysp.com\/zh\/oxylabs-html-crawler-api\/\"> <span class=\"screen-reader-text\">\u5982\u4f55\u4f7f\u7528 HTML \u722c\u866b API [\u7b2c 5 \u90e8\u5206]\uff1a\u7528\u4e8e\u5176\u4ed6\u7f51\u7ad9\u7684 OxyLabs \u5b9e\u65f6\u6293\u53d6\u5668<\/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\/7636"}],"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=7636"}],"version-history":[{"count":7,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts\/7636\/revisions"}],"predecessor-version":[{"id":10962,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/posts\/7636\/revisions\/10962"}],"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=7636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/categories?post=7636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proxysp.com\/zh\/wp-json\/wp\/v2\/tags?post=7636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}