{"id":535631,"date":"2021-09-18T15:25:53","date_gmt":"2021-09-18T07:25:53","guid":{"rendered":"http:\/\/4563.org\/?p=535631"},"modified":"2021-09-18T15:25:53","modified_gmt":"2021-09-18T07:25:53","slug":"%e5%8f%af%e8%83%bd%e6%98%af%e5%90%83%e7%81%b0%e5%b0%8f%e9%b8%a1%e6%9c%80%e5%a5%bd%e7%9a%84%e5%bd%92%e5%ae%bf","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=535631","title":{"rendered":"\u53ef\u80fd\u662f\u5403\u7070\u5c0f\u9e21\u6700\u597d\u7684\u5f52\u5bbf"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u65e0\u795e\u901a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u53ef\u80fd\u662f\u5403\u7070\u5c0f\u9e21\u6700\u597d\u7684\u5f52\u5bbf<\/h3>\n<p>  \t\t\u4e00\u53e5\u8bdd\uff0c\u53cd\u4ee3\u8c37\u6b4c\u3002<\/p>\n<p>  \u5f53\u7136\u4e0d\u662f\u7528 Nginx\uff0c\u800c\u662f\u7528 Whoogle\u3002\u56fd\u5916\u7684\u5f00\u6e90\u9879\u76ee\uff0c Github \u5730\u5740\uff1a<\/p>\n<p>  https:\/\/github.com\/benbusby\/whoogle-search<\/p>\n<p>  Whoogle \u662f\u5143\u641c\u7d22\u5f15\u64ce\uff0c\u4e5f\u5c31\u662f\u4ece\u4e0a\u6e38\u7684\u641c\u7d22\u5f15\u64ce\u83b7\u53d6\u6570\u636e\u4f18\u5316\u540e\u5c55\u793a\u3002\u548c Searx \u7c7b\u4f3c\uff0c\u4f46\u662f Searx \u7efc\u5408\u4e86\u597d\u51e0\u4e2a\u641c\u7d22\u5f15\u64ce\uff0cWhoogle \u4e13\u6ce8\u8c37\u6b4c\u3002<\/p>\n<p>  \u4e3b\u8981\u7279\u6027\uff1a<\/p>\n<p>  &nbsp; &nbsp; \u65e0\u5e7f\u544a<br \/>  &nbsp; &nbsp; \u65e0\u9700 javascript<br \/>  &nbsp; &nbsp; \u65e0\u9700 cookies<br \/>  &nbsp; &nbsp; \u65e0\u8ffd\u8e2a<br \/>  &nbsp; &nbsp; \u65e0 AMP \u94fe\u63a5<br \/>  &nbsp; &nbsp; \u65e0URL \u8ffd\u8e2a\u6807\u7b7e (\u4f8b\u5982 utm=%s)<br \/>  &nbsp; &nbsp; \u65e0 referrer \u5934<br \/>  &nbsp; &nbsp; Tor \u548c HTTP\/SOCKS \u652f\u6301<br \/>  &nbsp; &nbsp; \u81ea\u52a8\u5b8c\u6210\/\u641c\u7d22 \u5efa\u8bae<br \/>  &nbsp; &nbsp; POST \u8bf7\u6c42\u641c\u7d22\u548c\u5efa\u8bae\u8bf7\u6c42 (\u5f53\u53ef\u80fd\u7684\u65f6\u5019)<br \/>  &nbsp; &nbsp; \u65e0\u8df3\u8f6c\u67e5\u770b\u5168\u5c3a\u5bf8\u56fe\u7247 (\u76ee\u524d\u4ec5\u79fb\u52a8\u7aef)<br \/>  &nbsp; &nbsp; \u6697\u9ed1\u6a21\u5f0f<br \/>  &nbsp; &nbsp; \u968f\u673a\u751f\u6210 User Agent<br \/>  &nbsp; &nbsp; \u65b9\u4fbf\u5b89\u88c5\/\u90e8\u7f72<br \/>  &nbsp; &nbsp; \u652f\u6301 DDG-\u98ce\u683c\u7684\u5feb\u901f\u67e5\u8be2 (\u4f8b\u5982 !&lt;tag&gt; &lt;query&gt;)<br \/>  &nbsp; &nbsp; \u53ef\u9009\u7684\u57fa\u4e8e\u4f4d\u7f6e\u7684\u67e5\u8be2 (\u4f8b\u5982 results near &lt;city&gt;)<br \/>  &nbsp; &nbsp; \u53ef\u9009\u7684 NoJS \u6a21\u5f0f\u7981\u7528\u7ed3\u679c\u4e2d\u7684\u6240\u6709 JS<\/p>\n<p>  \u5373\u4f7f\u53bb\u9664\u4f17\u6240\u5468\u77e5\u7684\u56e0\u7d20\u5916\uff0c\u4ecd\u7136\u6709\u4ee5\u4e0a\u7406\u7531\u4f7f\u7528 Whoogle\u3002\u4e0e Searx \u76f8\u6bd4\uff0c\u6700\u5927\u7684\u4f18\u70b9\u8fd8\u662f\u90e8\u7f72\u65b9\u4fbf\uff0c\u9879\u76ee\u4f5c\u8005\u5728 Readme \u91cc\u7528\u4e86\u5927\u7bc7\u5e45\u5199\u5982\u4f55\u5b89\u88c5\u548c\u4f7f\u7528\u3002\u4e0b\u9762\u662f\u6211\u6bd4\u8f83\u559c\u6b22\u7684\u65b9\u6cd5\uff1a<\/p>\n<p>  apt install python3-dev python3-venv libffi-dev libcurl4-openssl-dev libssl-dev <br \/>  cd \/opt<br \/>  git clone https:\/\/github.com\/benbusby\/whoogle-search.git<br \/>  cd whoogle-search<br \/>  python3 -m venv venv<br \/>  source venv\/bin\/activate<br \/>  pip install -r requirements.txt<br \/>  .\/run<\/p>\n<p>  \u8fd9\u6837 Whoogle \u5c31\u8fd0\u884c\u5728 5000 \u7aef\u53e3\u4e86\u3002\u53e6\u5916\uff0c\u4f7f\u7528 Systemd \u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\uff0c\u9996\u5148\u6dfb\u52a0\u4e13\u95e8\u8fd0\u884c whoogle\u7684\u7528\u6237\uff1a<\/p>\n<p>  groupadd whoogle<br \/>  useradd -s \/sbin\/nologin -M -g whoogle whoogle<br \/>  chown -R whoogle:whoogle \/opt\/whoogle-search<\/p>\n<p>  \u7f16\u8f91 \/etc\/systemd\/system\/whoogle.service \uff1a<\/p>\n<p>  Description=Whoogle<\/p>\n<p>  Type=simple<br \/>  User=whoogle<br \/>  WorkingDirectory=\/opt\/whoogle-search\/<br \/>  ExecStart=\/opt\/whoogle-search\/venv\/bin\/python3 -um app &#8211;host 0.0.0.0 &#8211;port 5000<\/p>\n<p>  \u5bf9\u4e8e\u4f7f\u7528 Nginx \u53cd\u4ee3\u7684\uff0c\u4e0b\u9762\u662f\u4e3b\u8981\u7684\u914d\u7f6e\uff1a<\/p>\n<p>  location \/ {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_pass&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;http:\/\/127.0.0.1:5000;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_set_header&nbsp; &nbsp;Host $host;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_set_header&nbsp; &nbsp;X-Real-IP $remote_addr;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_set_header&nbsp; &nbsp;X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_set_header&nbsp; &nbsp;X-Forwarded-Host $server_name;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_set_header&nbsp; &nbsp;X-Forwarded-Proto https;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_read_timeout1200s;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;client_max_body_size 0;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  \u4e0d\u60f3\u81ea\u5df1\u90e8\u7f72\uff0c\u60f3\u4f53\u9a8c\u4e00\u4e0b\uff1f\u8fd9\u91cc\u6709\u4e00\u4e9b\u975e\u5b98\u65b9\u90e8\u7f72\u7684\uff1a<\/p>\n<p>  \u7f8e\u56fd\uff1a https:\/\/whoogle.sdf.org<\/p>\n<p>  \u5fb7\u56fd\uff1a https:\/\/search.garudalinux.org<\/p>\n<p>  \u7f8e\u56fd\uff08\u5957 CF\uff09\uff1a https:\/\/s.alefvanoon.xyz<\/p>\n<p>  \u5fb7\u56fd\uff08\u5957 CF\uff09\uff1ahttps:\/\/search.flux.industries\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>socpk<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u597d\u50cf\u610f\u4e49\u4e0d\u5927\uff0c\u73b0\u5728\u4e0a\u8c37\u6b4c\u7684\u95e8\u69db\u5df2\u7ecf\u5f88\u4f4e\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u53eb\u6211ams\u5c31\u597d\u4e86<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd8\u662fmark\u4e00\u4e0b\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e0\u795e\u901a \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u53ef\u80fd\u662f\u5403\u7070&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\/535631"}],"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=535631"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535631\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=535631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=535631"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=535631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}