{"id":85660,"date":"2020-05-12T21:17:14","date_gmt":"2020-05-12T13:17:14","guid":{"rendered":"http:\/\/4563.org\/?p=85660"},"modified":"2020-05-12T21:17:14","modified_gmt":"2020-05-12T13:17:14","slug":"%e6%87%92%ef%bc%8c%e6%b1%82%e4%b8%aa%e5%bc%82%e6%ad%a5%e7%88%ac%e8%99%ab%ef%bc%8c%e5%bf%85%e8%a6%81%e9%9c%80%e6%b1%82%e6%98%af%e6%96%b9%e4%be%bf%e5%a4%84%e7%90%86%e5%bc%82%e5%b8%b8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=85660","title":{"rendered":"\u61d2\uff0c\u6c42\u4e2a\u5f02\u6b65\u722c\u866b\uff0c\u5fc5\u8981\u9700\u6c42\u662f\u65b9\u4fbf\u5904\u7406\u5f02\u5e38"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u61d2\uff0c\u6c42\u4e2a\u5f02\u6b65\u722c\u866b\uff0c\u5fc5\u8981\u9700\u6c42\u662f\u65b9\u4fbf\u5904\u7406\u5f02\u5e38               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u901f\u5ea6\u3001\u5e76\u53d1\u91cf\u4e0d\u662f\u6700\u5927\u9700\u6c42\uff0c\u5f53\u7136\u80fd\u505a\u5230\u66f4\u597d<\/p>\n<p>\u5fc5\u8981\u7684\u662f\u51fa\u73b0\u722c\u53d6\u5931\u8d25\u7684 url\uff0c\u80fd\u6254\u8fdb\u961f\u5217\u91cd\u8bd5\u82e5\u5e72\u6b21<br \/>\u6301\u7eed\u5931\u8d25\uff08 403\/404\/50x\uff0c\u8d85\u65f6\u2026\u2026\u7b49\u7b49\uff09\u7684\u80fd\u8bb0\u5f55\u4e0b\u6765<\/p>\n<p>\u5176\u6b21\u662f\u53ef\u4ee5\u81ea\u5b9a\u4e49 header\uff0c\u5305\u62ec cookies \u3001UA \u7b49\u7b49\uff0c\u5f53\u7136\u5305\u62ec\u53ef\u91cd\u7528(session)<\/p>\n<p>\u641c\u4e86\u597d\u51e0\u4e2a\u7b80\u8ff0\u90fd\u6ca1\u8fd9\u65b9\u9762\u8bf4\u660e\uff0c\u4f30\u8ba1\u4e0d\u662f\u9010\u4e2a\u770b\u6587\u6863\uff0c\u5c31\u662f\u770b\u4ee3\u7801\u2026\u2026<br \/>\u8c01\u77e5\u9053\u6709\u8fd9\u6837\u7684\uff0c\u7701\u6211\u4e00\u70b9\u65f6\u95f4\uff0c\u8c22\u4e86      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>16<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1509166\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NaVient <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00\u6e90\u4e0d\u662f\u4f38\u624b\uff0c\u522b\u4eba\u6ca1\u5b9e\u73b0\u7684\u4f60\u53ef\u4ee5\u5b9e\u73b0\u4e86\u63d0 PR \u65b9\u4fbf\u4e0b\u4e00\u4e2a\u670b\u53cb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509167\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b2c\u4e00\u884c\u548c\u7b2c\u4e09\u884c\u9700\u6c42\uff0c\u76f4\u63a5 aiohttp \u4e0d\u5c31\u597d\u4e86\u3002<\/p>\n<p>\u7b2c\u4e8c\u884c\u9700\u6c42\uff0c\u81ea\u5df1\u7528 redis \u5b9e\u73b0\u4e00\u4e0b\u4f30\u8ba1\u4e5f\u5c31\u4e00\u767e\u884c\u4ee5\u5185\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509168\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dayeye2006199 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u662f\u4f20\u8bf4\u4e2d\u7684\u4f38\u624b\u515a\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509169\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 <br \/>redis \u6211\u53ea\u8ba4\u8bc6\u8fd9\u4e94\u4e2a\u5b57\u6bcd\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509170\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruby0906 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8981\u4e0d\u662f\u8f6e\u5b50\u592a\u591a\uff0c\u770b\u4e3b\u7684\u63cf\u8ff0\u6211\u90fd\u60f3\u81ea\u5df1\u5199\u4e00\u4e2a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509171\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ruby0906 #5<br \/>\u5c31\u662f\u8fd9\u4e2a\u610f\u601d\uff0c\u5982\u679c\u81ea\u8ba4\u4e3a\u80fd\u529b\u8db3\u591f\uff0c\u5df2\u7ecf\u52a8\u624b\u4e86\uff0c\u6211\u5c31\u4ece\u6765\u6ca1\u7528\u8fc7\u522b\u4eba\u7684 html parser \u8f6e\u5b50<br \/>\u95ee\u9898\u662f\u81ea\u5df1\u5199\u51fa\u6765\u7684\uff0c\u81ea\u5df1\u7528\u7740\u90fd\u89c9\u5f97\u7cdf\u5fc3\uff0c\u8fd8\u4e0d\u5982\u7528\u4eba\u5bb6\u9ad8\u6c34\u5e73\u7684\u8f6e\u5b50                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509172\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ClericPy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ee5\u524d\u8fd8\u771f\u5199\u8fc7\u7c7b\u4f3c\u7684&#8230; https:\/\/github.com\/ClericPy\/torequests<\/p>\n<p>\u652f\u6301\u534f\u7a0b, \u7ebf\u7a0b, \u540c\u6b65, \u5f02\u6b65, \u53cd\u6b63\u5c31\u662f\u5f53\u5e74\u60f3\u5728\u540c\u6b65\u73af\u5883\u91cc\u4eab\u53d7\u5230\u534f\u7a0b\u7684\u9ad8\u6027\u80fd\u7528\u7684<\/p>\n<p>\u548c\u539f\u751f aiohttp \u6bd4, \u635f\u5931 10% \u6027\u80fd, \u5e26\u4e0a uvloop \u635f\u5931 15% ~ 20%&#8230; \u635f\u5931\u8fd9\u4e48\u591a\u73b0\u5728\u6211\u90fd\u6709\u70b9\u4e0d\u60f3\u7528\u5b83\u4e86&#8230;<\/p>\n<p>https:\/\/paste.ubuntu.com\/p\/fFWsNmvVX2\/ \u7b80\u5355\u7684\u5c0f\u4f8b\u5b50                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509173\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tlemar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             scrapy \u53ef\u4ee5\u6ee1\u8db3\u9700\u6c42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509174\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ClericPy #7<br \/>\u54ce\u5440\uff0c\u5931\u656c\u5931\u656c\uff0c\u521a\u521a\u5728\u770b torequests\uff0c\u6ca1\u60f3\u5230\u4e0b\u4e00\u79d2\u4f5c\u8005\u5c31\u51fa\u73b0\u4e86<\/p>\n<p>\u65e2\u7136\u5927\u9a7e\u5149\u4e34\uff0c\u987a\u4fbf\u95ee\u4e24\u4e2a\u95ee\u9898\uff1a<br \/>1.\u6211\u5199\u4e2a class \u7ee7\u627f FailureException\uff0c\u5c31\u53ef\u4ee5\u81ea\u884c\u5904\u7406\u4e86\u5427\uff0cerror \u662f http error code \u4e48\uff1f<br \/>\u8d85\u65f6\u7684 error \u662f\u4ec0\u4e48\uff0c\u6587\u6863\u597d\u50cf\u6ca1\u5199\u8fd9\u4e2a<br \/>2.\u81ea\u5b9a\u4e49 header \u597d\u50cf\u53ea\u89c1\u5230 torequests.utils.curlparse(string, encoding=&#8217;utf-8&#8242;) \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509175\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ClericPy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imn1 #9 <\/p>\n<p>1. FailureException \u5176\u5b9e\u5c31\u662f\u5728 catch exception \u7684\u65f6\u5019\u4e0d\u629b\u9519, \u8ba9\u5b83 Return \u56de\u6765\u65b9\u4fbf\u81ea\u7701\u548c\u6392\u67e5, FailureException.error \u5b9e\u9645\u5c31\u662f\u539f\u59cb\u629b\u51fa\u7684\u9519\u8bef<\/p>\n<p>\u53e6\u4e00\u65b9\u9762 FailureException \u4e3b\u8981\u4f5c\u7528\u5c31\u662f\u5b58\u653e\u4e86 request \u7684 kwargs, \u65b9\u4fbf\u56de\u8c03\u7684\u65f6\u5019\u7528\u4e0a<\/p>\n<p>\u8d85\u65f6\u6839\u636e\u4e0d\u540c\u7684\u4f9d\u8d56\u4e0d\u4e00\u5b9a\u662f\u4ec0\u4e48 error, \u9700\u8981\u6839\u636e\u4f9d\u8d56\u6765\u5224\u65ad, aiohttp \u6216\u8005 requests \u91cc\u9762\u90fd\u6709\u5f88\u591a\u7ec6\u5206, \u8d85\u65f6\u4e5f\u662f\u533a\u5206\u4e86\u8bfb\u8d85\u65f6\u548c\u8fde\u63a5\u8d85\u65f6\u7684, \u6240\u4ee5\u5f97\u81ea\u5df1\u53bb\u4ed6\u4eec\u6e90\u7801\u91cc\u770b\u770b, \u6bd4\u5982 requests.exceptions \u91cc\u7684 Timeout ConnectTimeout ReadTimeout, aiohttp \u91cc\u9762\u66f4\u590d\u6742<\/p>\n<p>\u56e0\u6b64, \u8fd9\u91cc\u9762\u7684\u91cd\u8bd5\u7684\u6db5\u76d6\u8303\u56f4\u9ed8\u8ba4\u662f aiohttp \u548c requests \u91cc\u9762\u7684\u8bf7\u6c42\u9519\u8bef\u7684\u57fa\u7c7b, \u907f\u514d handle \u4e00\u4e9b\u975e\u8bf7\u6c42\u7c7b\u9519\u8bef (\u65e9\u5e74\u95f4\u56e0\u4e3a handle \u4e86 KeyboardInterrupt \u5bfc\u81f4\u6211\u4e00\u4e2a\u5341\u4e07\u8bf7\u6c42\u7684\u811a\u672c\u5dee\u70b9\u505c\u4e0d\u4e0b\u6765&#8230;<\/p>\n<p>2. \u6ca1\u770b\u61c2\u81ea\u5b9a\u4e49 Headers \u662f\u4ec0\u4e48\u9700\u6c42, \u6709\u4e2a\u4f8b\u5b50\u4e48. \u53ef\u91cd\u7528 Session \u662f\u9ed8\u8ba4\u7684, tPool Requests \u7c7b\u90fd\u662f\u53ea\u7528\u4e00\u4e2a Client Session<\/p>\n<p>3. \u4ee3\u7801\u4e00\u5f00\u59cb\u662f\u521a\u4e0a\u73ed\u65f6\u5019\u81ea\u5df1\u8fb9\u5b66\u8fb9\u6298\u817e\u7684, \u5b9e\u9645\u6ca1\u4ec0\u4e48\u6709\u4ef7\u503c\u7684\u5730\u65b9, \u4e0d\u5982\u81ea\u5df1\u73b0\u5199\u4e00\u4e2a wrapper&#8230;                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509176\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ClericPy #10<br \/>\u81ea\u5b9a\u4e49 header\uff0c\u4f8b\u5982 UA \u7528 firefox\/chrome&#8230;\uff0ccookies \u589e\u52a0\u4e00\u4e9b\u6761\u6587\uff0c\u5982\u9875\u9762\u8bbf\u95ee\u70b9\u51fb\u201c\u540c\u610f\u201d\uff0ccookies \u4f1a\u591a\u4e86 agree=1 \u8fd9\u6837\uff0c\u7a0b\u5e8f\u9996\u6b21\u8bbf\u95ee cookies \u6ca1\u6709\u8fd9\u6761\u6216\u8005 agree=0\uff0c\u540e\u9762\u7528\u4ee3\u7801\u6dfb\u52a0\u4e0a\u53bb\u624d\u80fd\u8bbf\u95ee\u540e\u9762\u7684\u9875\u9762<\/p>\n<p>\u6211\u672c\u6765\u662f\u60f3 requests \u5199\u4e2a\u5355\u51fd\u6570\uff0c\u7136\u540e\u591a\u8fdb\u7a0b\u6267\u884c\uff0c\u611f\u89c9\u653e\u540e\u53f0\u8dd1\u6709\u70b9\u91cd\uff0c\u6240\u4ee5\u624d\u627e\u627e\u6709\u4ec0\u4e48\u5f02\u6b65\u534f\u7a0b\u7684\uff0c\u8fd9\u6837\u9759\u9ed8\u8fd0\u884c\u4e0d\u5f71\u54cd\u6211\u5e72\u5176\u4ed6\u4e8b\uff0c\u6240\u4ee5\u80fd\u8bb0\u5f55\u4e0b\u8f7d\u5931\u8d25\u53cd\u800c\u662f\u6700\u5173\u952e\u7684                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509177\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crella <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u81ea\u5df1\u7684 html parser \u7684\u5176\u4e2d\u6bd4\u8f83\u597d\u7684\u51e0\u4e2a\u53ef\u4ee5\u7ed9\u4e2a\u94fe\u63a5\u5417\uff1f\u60f3\u770b\u770b\u662f\u600e\u4e48\u89e3\u6790 html \u7684\u3002\u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509178\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ClericPy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imn1 #11 \u8fd9\u4e9b\u81ea\u7136\u662f\u5e26\u7684, torequests \u8981\u505a\u7684\u5c31\u662f\u517c\u5bb9 Requests \u7684\u53c2\u6570&#8230;<\/p>\n<p>req = tPool()<br \/>task = req.get(&#8216;http:\/\/httpbin.org&#8217;, headers={&#8220;Cookie&#8221;: &#8220;agree=0;&#8221;})<br \/>resp = task.x<\/p>\n<p>\u8fd9\u4e9b\u90fd\u662f Requests \u5e93\u539f\u751f\u7684\u53c2\u6570<\/p>\n<p>\u8bb0\u5f55\u4e0b\u8f7d\u5931\u8d25, \u62ff\u5230\u7ed3\u679c\u4ee5\u540e\u5982\u679c\u662f\u9519\u8bef, FailureException \u5bf9\u8c61\u7684 bool \u90fd\u662f false \u7684, \u800c\u4e14\u4e5f\u6709 self.ok \u6765\u517c\u5bb9 Requests \u7684\u54cd\u5e94, \u6240\u4ee5\u53ea\u8981\u5224\u65ad self.ok \u5c31\u80fd\u77e5\u9053\u8bf7\u6c42\u662f\u5426\u6210\u529f\u4e86. Requests \u7684 Response.ok \u5224\u65ad\u7684\u597d\u50cf\u662f\u72b6\u6001\u7801\u5728 range(200, 300) \u4e4b\u95f4<\/p>\n<p>\u8bb0\u5f55\u4e0b\u8f7d\u5931\u8d25, \u5199\u4e2a Callback \u51fd\u6570\u505a\u53d8\u91cf\u585e\u4e0a\u5e94\u8be5\u5c31\u591f\u4e86, lambda r: r.ok or open(&#8216;file.txt&#8217;, &#8216;a&#8217;).write(&#8216;xxx&#8217;)                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509179\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @crella #12<br \/>\u6ca1\u516c\u5e03\uff0c\u800c\u4e14\u6709\u4e9b\u5e74\u5934\uff0c\u8fd9\u6b21\u4e5f\u8981\u91cd\u5199<br \/>\u6ca1\u4ec0\u4e48\u7279\u522b\uff0c\u5c31\u662f\u6b63\u5219\u7528\u5f97\u597d\u800c\u5df2\uff08\u6211\u4e0d\u9700\u8981 bs4\/lxml \uff09<br \/>\u52a0\u4e24\u4e09\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u6839\u636e\u6355\u83b7&#8221;last page&#8221;\u751f\u6210\u4e00\u4e2a\u7ec4\u5408 list\uff0c\u4e5f\u5c31\u662f itertools.product()\u4e4b\u7c7b<br \/>\u6709\u4e2a\u51fd\u6570\u662f\u5904\u7406\uff0c\u5206\u6563\u5728\u51e0\u4e2a\u9875\u9762\u7684\u4fe1\u606f\uff0c\u8981\u5404\u81ea\u53d6\u51fa\u5408\u6210\u4e00\u4e2a record\uff0c\u5916\u9762\u7684\u6846\u67b6\u5f88\u5c11\u89c1\u6709\u505a\u8fd9\u4e2a\uff0c\u4f46\u8fd9\u4e2a\u53ea\u662f\u4e1a\u52a1\u903b\u8f91\u7406\u987a\uff0c\u8ddf\u4ee3\u7801\u80fd\u529b\u65e0\u5173<br \/>\u53ef\u4ee5\u5bfc\u51fa aria2\/wget \u53ef\u7528\u7684 list\uff0cwget \u4e0d\u80fd\u6307\u5b9a\u8f93\u51fa\u6587\u4ef6\u540d\uff0c\u52a0\u4e2a\u4e0b\u8f7d\u540e\u5bf9\u7167\u6539\u540d\u7684\u811a\u672c<br \/>\u2026\u2026<\/p>\n<p>\u603b\u7684\u4e00\u53e5\uff0c\u5c31\u662f\u505a\u4e86\u4e00\u4e2a py\uff0c\u7136\u540e\u4e0d\u540c\u7ad9\u70b9\u5199\u4e2a ini\/cfg\/yaml \u4ec0\u4e48\u7684\uff0c\u628a\u4e00\u5806\u6b63\u5219\u3001referrer \u6309\u987a\u5e8f\u6254\u8fdb\u53bb\uff0c\u5c31\u80fd\u8dd1\uff0c\u4ec5\u6b64\u800c\u5df2\uff0c\u6ca1\u4ec0\u4e48\u7279\u522b\uff0c\u6bd4\u522b\u4eba\u5f3a\u7684\u5730\u65b9\u53ef\u80fd\u5c31\u662f\u6211\u719f\u6089\u4e2d\u65e5\u97e9 unicode \u5b57\u7b26\uff0c\u6587\u5b57\u5904\u7406\u6bd4\u4eba\u5bb6\u5199\u7684\u8981\u7b80\u6d01\u987a\u624b\u4e9b                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509180\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : neoblackcap <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @crella \u89e3\u6790 html \uff1f\u4f60\u53bb\u770b\u770b nginx \u7684\u4e0d\u5c31\u7ed3\u4e86\u3002\u57fa\u672c\u4e0a\u90fd\u662f\u62ff nginx \u7684\u4ee3\u7801\u6539\u4e00\u4e0b\u3002\u8981\u4e0d\u7136\u4f60\u53bb\u770b pichttpparser \u4e5f\u53ef\u4ee5\uff0c\u4e0d\u8fc7\u90a3\u4e2a\u5230\u5e95\u6709\u591a\u6807\u51c6\uff0c\u6211\u4e0d\u597d\u8bf4\u4e86\u3002nginx \u89e3\u6790 html \u7684\u4ee3\u7801\u597d\u50cf\u4e5f\u5c31\u4e00\u4e2a\u6587\u4ef6\uff0c\u975e\u5e38\u77ed\u5c0f\u7cbe\u608d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1509181\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : triangle111 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u4e2a\u5f00\u6e90\u7684 Ruia\uff0c\u4e5f\u662f\u5f02\u6b65\u722c\u866b\uff0c\u5c31\u662f\u63d2\u4ef6\u6ca1\u4eba\u5f00\u53d1\u3002LZ \u8bf4\u7684\u8fd9\u4e9b\u529f\u80fd\u521a\u597d\u90fd\u6709                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u61d2\uff0c\u6c42\u4e2a\u5f02\u6b65\u722c\u866b\uff0c\u5fc5\u8981\u9700\u6c42\u662f\u65b9\u4fbf\u5904&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85660"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85660"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85660\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85660"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}