{"id":296,"date":"2017-11-11T14:42:32","date_gmt":"2017-11-11T06:42:32","guid":{"rendered":"http:\/\/www.igaosou.com\/?p=296"},"modified":"2023-04-18T14:31:14","modified_gmt":"2023-04-18T06:31:14","slug":"%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e6%8a%93%e5%8f%96%e7%b3%bb%e7%bb%9f%e6%a6%82%e8%bf%b0%ef%bc%88%e4%b8%80%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.igaosou.com\/296.html","title":{"rendered":"\u641c\u7d22\u5f15\u64ce\u6293\u53d6\u7cfb\u7edf\u6982\u8ff0\uff08\u4e00\uff09"},"content":{"rendered":"

\u7ad9\u957f\u670b\u53cb\u4eec\uff0c\u4eca\u540e\u5b9a\u671f\u90fd\u5c06\u5728\u8fd9\u91cc\u8ddf\u5927\u5bb6\u5206\u4eab\u4e00\u4e9b\u6709\u5173\u641c\u7d22\u5f15\u64ce\u5de5\u4f5c\u539f\u7406\u53ca\u7f51\u7ad9\u8fd0\u8425\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u4eca\u5929\u5148\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u5173\u4e8e\u641c\u7d22\u5f15\u64ce\u6293\u53d6\u7cfb\u7edf\u4e2d\u6709\u5173\u6293\u53d6\u7cfb\u7edf\u57fa\u672c\u6846\u67b6\u3001\u6293\u53d6\u4e2d\u6d89\u53ca\u7684\u7f51\u7edc\u534f\u8bae\u3001\u6293\u53d6\u7684\u57fa\u672c\u8fc7\u7a0b\u4e09\u90e8\u5206\u3002<\/p>\n

\u4e92\u8054\u7f51\u4fe1\u606f\u7206\u53d1\u5f0f\u589e\u957f\uff0c\u5982\u4f55\u6709\u6548\u7684\u83b7\u53d6\u5e76\u5229\u7528\u8fd9\u4e9b\u4fe1\u606f\u662f\u641c\u7d22\u5f15\u64ce\u5de5\u4f5c\u4e2d\u7684\u9996\u8981\u73af\u8282\u3002\u6570\u636e\u6293\u53d6\u7cfb\u7edf\u4f5c\u4e3a\u6574\u4e2a\u641c\u7d22\u7cfb\u7edf\u4e2d\u7684\u4e0a\u6e38\uff0c\u4e3b\u8981\u8d1f\u8d23\u4e92\u8054\u7f51\u4fe1\u606f\u7684\u641c\u96c6\u3001\u4fdd\u5b58\u3001\u66f4\u65b0\u73af\u8282\uff0c\u5b83\u50cf\u8718\u86db\u4e00\u6837\u5728\u7f51\u7edc\u95f4\u722c\u6765\u722c\u53bb\uff0c\u56e0\u6b64\u901a\u5e38\u4f1a\u88ab\u53eb\u505a\u201cspider\u201d\u3002\u4f8b\u5982\u6211\u4eec\u5e38\u7528\u7684\u51e0\u5bb6\u901a\u7528\u641c\u7d22\u5f15\u64ce\u8718\u86db\u88ab\u53eb\u505a\uff1aBaiduspdier\u3001Googlebot\u3001Sogou Web Spider\u7b49\u3002<\/p>\n

Spider\u6293\u53d6\u7cfb\u7edf\u662f\u641c\u7d22\u5f15\u64ce\u6570\u636e\u6765\u6e90\u7684\u91cd\u8981\u4fdd\u8bc1\uff0c\u5982\u679c\u628aweb\u7406\u89e3\u4e3a\u4e00\u4e2a\u6709\u5411\u56fe\uff0c\u90a3\u4e48spider\u7684\u5de5\u4f5c\u8fc7\u7a0b\u53ef\u4ee5\u8ba4\u4e3a\u662f\u5bf9\u8fd9\u4e2a\u6709\u5411\u56fe\u7684\u904d\u5386\u3002\u4ece\u4e00\u4e9b\u91cd\u8981\u7684\u79cd\u5b50 URL\u5f00\u59cb\uff0c\u901a\u8fc7\u9875\u9762\u4e0a\u7684\u8d85\u94fe\u63a5\u5173\u7cfb\uff0c\u4e0d\u65ad\u7684\u53d1\u73b0\u65b0URL\u5e76\u6293\u53d6\uff0c\u5c3d\u6700\u5927\u53ef\u80fd\u6293\u53d6\u5230\u66f4\u591a\u7684\u6709\u4ef7\u503c\u7f51\u9875\u3002\u5bf9\u4e8e\u7c7b\u4f3c\u767e\u5ea6\u8fd9\u6837\u7684\u5927\u578bspider\u7cfb\u7edf\uff0c\u56e0\u4e3a\u6bcf\u65f6 \u6bcf\u523b\u90fd\u5b58\u5728\u7f51\u9875\u88ab\u4fee\u6539\u3001\u5220\u9664\u6216\u51fa\u73b0\u65b0\u7684\u8d85\u94fe\u63a5\u7684\u53ef\u80fd\uff0c\u56e0\u6b64\uff0c\u8fd8\u8981\u5bf9spider\u8fc7\u53bb\u6293\u53d6\u8fc7\u7684\u9875\u9762\u4fdd\u6301\u66f4\u65b0\uff0c\u7ef4\u62a4\u4e00\u4e2aURL\u5e93\u548c\u9875\u9762\u5e93\u3002<\/p>\n

1<\/strong>\u3001<\/strong>spider<\/strong>\u6293\u53d6\u7cfb\u7edf\u7684\u57fa\u672c\u6846\u67b6<\/strong><\/p>\n

\u5982\u4e0b\u4e3aspider\u6293\u53d6\u7cfb\u7edf\u7684\u57fa\u672c\u6846\u67b6\u56fe\uff0c\u5176\u4e2d\u5305\u62ec\u94fe\u63a5\u5b58\u50a8\u7cfb\u7edf\u3001\u94fe\u63a5\u9009\u53d6\u7cfb\u7edf\u3001dns\u89e3\u6790\u670d\u52a1\u7cfb\u7edf\u3001\u6293\u53d6\u8c03\u5ea6\u7cfb\u7edf\u3001\u7f51\u9875\u5206\u6790\u7cfb\u7edf\u3001\u94fe\u63a5\u63d0\u53d6\u7cfb\u7edf\u3001\u94fe\u63a5\u5206\u6790\u7cfb\u7edf\u3001\u7f51\u9875\u5b58\u50a8\u7cfb\u7edf\u3002<\/p>\n

\"baiduyouhua1\"<\/p>\n

2<\/strong>\u3001<\/strong>spider<\/strong>\u6293\u53d6\u8fc7\u7a0b\u4e2d\u6d89\u53ca\u7684\u7f51\u7edc\u534f\u8bae<\/strong><\/p>\n

\u641c\u7d22\u5f15\u64ce\u4e0e\u8d44\u6e90\u63d0\u4f9b\u8005\u4e4b\u95f4\u5b58\u5728\u76f8\u4e92\u4f9d\u8d56\u7684\u5173\u7cfb\uff0c\u5176\u4e2d\u641c\u7d22\u5f15\u64ce\u9700\u8981\u7ad9\u957f\u4e3a\u5176\u63d0\u4f9b\u8d44\u6e90\uff0c\u5426\u5219\u641c\u7d22\u5f15\u64ce\u5c31\u65e0\u6cd5\u6ee1\u8db3\u7528\u6237\u68c0\u7d22\u9700\u6c42\uff1b\u800c\u7ad9\u957f\u9700\u8981\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\u5c06\u81ea\u5df1\u7684 \u5185\u5bb9\u63a8\u5e7f\u51fa\u53bb\u83b7\u53d6\u66f4\u591a\u7684\u53d7\u4f17\u3002spider\u6293\u53d6\u7cfb\u7edf\u76f4\u63a5\u6d89\u53ca\u4e92\u8054\u7f51\u8d44\u6e90\u63d0\u4f9b\u8005\u7684\u5229\u76ca\uff0c\u4e3a\u4e86\u4f7f\u641c\u7d20\u5f15\u64ce\u4e0e\u7ad9\u957f\u80fd\u591f\u8fbe\u5230\u53cc\u8d62\uff0c\u5728\u6293\u53d6\u8fc7\u7a0b\u4e2d\u53cc\u65b9\u5fc5\u987b\u9075\u5b88\u4e00\u5b9a\u7684 \u89c4\u8303\uff0c\u4ee5\u4fbf\u4e8e\u53cc\u65b9\u7684\u6570\u636e\u5904\u7406\u53ca\u5bf9\u63a5\u3002\u8fd9\u79cd\u8fc7\u7a0b\u4e2d\u9075\u5b88\u7684\u89c4\u8303\u4e5f\u5c31\u662f\u65e5\u5e38\u4e2d\u6211\u4eec\u6240\u8bf4\u7684\u4e00\u4e9b\u7f51\u7edc\u534f\u8bae\u3002\u4ee5\u4e0b\u7b80\u5355\u5217\u4e3e\uff1a<\/p>\n

http\u534f\u8bae\uff1a<\/strong>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff0c\u662f\u4e92\u8054\u7f51\u4e0a\u5e94\u7528\u6700\u4e3a\u5e7f\u6cdb\u7684\u4e00\u79cd\u7f51\u7edc\u534f\u8bae\uff0c\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u8bf7\u6c42\u548c\u5e94\u7b54\u7684\u6807\u51c6\u3002\u5ba2\u6237\u7aef\u4e00\u822c\u60c5\u51b5\u662f\u6307\u7ec8\u7aef\u7528\u6237\uff0c\u670d\u52a1\u5668\u7aef\u5373\u6307\u7f51 \u7ad9\u3002\u7ec8\u7aef\u7528\u6237\u901a\u8fc7\u6d4f\u89c8\u5668\u3001\u8718\u86db\u7b49\u5411\u670d\u52a1\u5668\u6307\u5b9a\u7aef\u53e3\u53d1\u9001http\u8bf7\u6c42\u3002\u53d1\u9001http\u8bf7\u6c42\u4f1a\u8fd4\u56de\u5bf9\u5e94\u7684httpheader\u4fe1\u606f\uff0c\u53ef\u4ee5\u770b\u5230\u5305\u62ec\u662f\u5426\u6210\u529f\u3001\u670d\u52a1 \u5668\u7c7b\u578b\u3001\u7f51\u9875\u6700\u8fd1\u66f4\u65b0\u65f6\u95f4\u7b49\u5185\u5bb9\u3002<\/p>\n

https\u534f\u8bae\uff1a<\/strong>\u5b9e\u9645\u662f\u52a0\u5bc6\u7248http\uff0c\u4e00\u79cd\u66f4\u52a0\u5b89\u5168\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\u3002<\/p>\n

UA\u5c5e\u6027\uff1a<\/strong>UA\u5373user-agent\uff0c\u662fhttp\u534f\u8bae\u4e2d\u7684\u4e00\u4e2a\u5c5e\u6027\uff0c\u4ee3\u8868\u4e86\u7ec8\u7aef\u7684\u8eab\u4efd\uff0c\u5411\u670d\u52a1\u5668\u7aef\u8868\u660e\u6211\u662f\u8c01\u6765\u5e72\u561b\uff0c\u8fdb\u800c\u670d\u52a1\u5668\u7aef\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u8eab\u4efd\u6765\u505a\u51fa\u4e0d\u540c\u7684\u53cd\u9988\u7ed3\u679c\u3002<\/p>\n

robots\u534f\u8bae\uff1a<\/strong>robots.txt\u662f\u641c\u7d22\u5f15\u64ce\u8bbf\u95ee\u4e00\u4e2a\u7f51\u7ad9\u65f6\u8981\u8bbf\u95ee\u7684\u7b2c\u4e00\u4e2a\u6587\u4ef6\uff0c\u7528\u4ee5\u6765\u786e\u5b9a\u54ea\u4e9b\u662f\u88ab\u5141\u8bb8\u6293\u53d6\u7684\u54ea\u4e9b\u662f\u88ab\u7981\u6b62\u6293\u53d6\u7684\u3002 robots.txt\u5fc5\u987b\u653e\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u4e0b\uff0c\u4e14\u6587\u4ef6\u540d\u8981\u5c0f\u5199\u3002\u8be6\u7ec6\u7684robots.txt\u5199\u6cd5\u53ef\u53c2\u8003 http:\/\/www.robotstxt.org\u3002\u767e\u5ea6\u4e25\u683c\u6309\u7167robots\u534f\u8bae\u6267\u884c\uff0c\u53e6\u5916\uff0c\u540c\u6837\u652f\u6301\u7f51\u9875\u5185\u5bb9\u4e2d\u6dfb\u52a0\u7684\u540d\u4e3arobots\u7684meta\u6807 \u7b7e\uff0cindex\u3001follow\u3001nofollow\u7b49\u6307\u4ee4\u3002<\/p>\n

3<\/strong>\u3001spider\u6293\u53d6\u7684\u57fa\u672c\u8fc7\u7a0b<\/strong><\/p>\n

spider\u7684\u57fa\u672c\u6293\u53d6\u8fc7\u7a0b\u53ef\u4ee5\u7406\u89e3\u4e3a\u5982\u4e0b\u7684\u6d41\u7a0b\u56fe\uff1a\"baiduyouhua2\"<\/p>\n

\u5982\u679c\u5927\u5bb6\u5bf9\u641c\u7d22\u5f15\u64ce\u6293\u53d6\u8fd8\u6709\u522b\u7684\u7591\u95ee\uff0c\u5927\u5bb6\u53ef\u4ee5\u5230[\u5b66\u9662\u540c\u5b66\u6c47][\u5b66\u4e60\u8ba8\u8bba] \u300a \u641c\u7d22\u5f15\u64ce\u6293\u53d6\u7cfb\u7edf\u6982\u8ff0\uff08\u4e8c\uff09\u300b\u8ba8\u8bba\u5e16\u4e2d\u53d1\u8868\u81ea\u5df1\u7684\u770b\u6cd5\uff0c\u6211\u4eec\u7684\u5de5\u4f5c\u4eba\u5458\u4f1a\u5173\u6ce8\u8fd9\u91cc\u5e76\u4e0e\u5927\u5bb6\u8fdb\u884c\u63a2\u8ba8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ad9\u957f\u670b\u53cb\u4eec\uff0c\u4eca\u540e\u5b9a\u671f\u90fd\u5c06\u5728\u8fd9\u91cc\u8ddf\u5927\u5bb6\u5206\u4eab\u4e00\u4e9b\u6709\u5173\u641c\u7d22\u5f15\u64ce\u5de5\u4f5c\u539f\u7406\u53ca\u7f51\u7ad9\u8fd0\u8425\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u4eca\u5929\u5148\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u5173\u4e8e\u641c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-296","post","type-post","status-publish","format-standard","hentry","category-gfzc"],"_links":{"self":[{"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/posts\/296"}],"collection":[{"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/comments?post=296"}],"version-history":[{"count":0,"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/posts\/296\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/media?parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/categories?post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igaosou.com\/wp-json\/wp\/v2\/tags?post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}