{"id":17302,"date":"2020-02-03T01:31:26","date_gmt":"2020-02-02T17:31:26","guid":{"rendered":"http:\/\/4563.org\/?p=17302"},"modified":"2020-02-03T01:31:26","modified_gmt":"2020-02-02T17:31:26","slug":"%e4%b8%80%e4%b8%aa%e6%96%b0%e5%9e%8b%e5%86%a0%e7%8a%b6%e7%97%85%e6%af%92-2019-ncov%e6%95%b0%e6%8d%ae%e8%8e%b7%e5%8f%96%e7%9a%84tg%e6%9c%ba%e5%99%a8%e4%ba%ba","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=17302","title":{"rendered":"\u4e00\u4e2a\u65b0\u578b\u51a0\u72b6\u75c5\u6bd2 2019-nCoV\u6570\u636e\u83b7\u53d6\u7684tg\u673a\u5668\u4eba"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>liyafe1997<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u4e00\u4e2a\u65b0\u578b\u51a0\u72b6\u75c5\u6bd2 2019-nCoV\u6570\u636e\u83b7\u53d6\u7684tg\u673a\u5668\u4eba<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 liyafe1997 \u4e8e 2020-2-3 01:28 \u7f16\u8f91 <\/p>\n<p> \u4e00\u4e2a\u5c06\u5fae\u4fe1\u4e01\u9999\u533b\u751f\u7684\u6570\u636e(\u65b0\u578b\u51a0\u72b6\u75c5\u6bd2 2019-nCoV)\u90e8\u5206\u632a\u5230telegram\u4e0a\uff0c@dxys_bot\uff0c\u4ee3\u7801\u5199\u7684\u70c2\uff0c\u5927\u4f6c\u52ff\u89c1\u602a\uff0c\u90fd\u662f\u65e0\u8111\u7167\u642c\u8fc7\u6765\u7684<\/p>\n<p>  \u5730\u5740<\/p>\n<p>  https:\/\/github.com\/AlphaBrock\/dxys<\/p>\n<p>  \u529f\u80fd<\/p>\n<p>  help &#8211; \u67e5\u770b\u5e2e\u52a9<br \/>  overall &#8211; \u67e5\u770b\u6c47\u603b\u4eba\u6570<br \/>  news &#8211; \u67e5\u770b\u6700\u8fd15\u6761\u65b0\u95fb<br \/>  rumors &#8211; \u67e5\u770b\u53d1\u5e03\u7684\u8f9f\u8c23\u4fe1\u606f\uff0c\u7528\u6cd5\uff1a\/rumors \u4e0d\u5e26\u53c2\u6570\u9ed8\u8ba4\u6700\u8fd15\u6761 \u6216\u8005 \/rumors 5\/all \u5e26\u53c2\u6570\u83b7\u53d6\u6307\u5b9a\u6761\u6570<br \/>  area &#8211; \u67e5\u770b\u533a\u57df\u7edf\u8ba1\u4eba\u6570\uff0c\u7528\u6cd5\uff1a\/area \u4e2d\u56fd\u6216\u8005\/area \u5168\u7403 \u6216\u8005 \/area \u5e7f\u4e1c\u7701<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; \u533a\u57df\u7edf\u8ba1\u4eba\u6570\u53ea\u652f\u6301\u56fd\u5185\u7701\uff0c\u76f4\u8f96\u5e02\u4e0e\u81ea\u6cbb\u533a<\/p>\n<p>  \u622a\u56fe<\/p>\n<p>  https:\/\/i.loli.net\/2020\/02\/03\/TWG3Ici4xPBZfdC.png<br \/>  https:\/\/i.loli.net\/2020\/02\/03\/74IbpLXg5tzOYr9.png<br \/>  https:\/\/i.loli.net\/2020\/02\/03\/PoCSWYf8ed9q4LN.png<\/p>\n<p>  \u90e8\u7f72\u73af\u5883<\/p>\n<p>  \u4ee3\u7801\u57fa\u4e8epython3<\/p>\n<p>  # ubuntu\/debian<br \/>  apt install python3-pip python3 python3-setuptools<br \/>  pip install -r requirements.txt<\/p>\n<p>  \u4ee3\u7801\u514b\u9686<\/p>\n<p>  git clone https:\/\/github.com\/AlphaBrock\/dxys<\/p>\n<p>  \u4fee\u6539config.py\u8fdb\u884c\u914d\u7f6e\uff0cTOKEN \u4e3a Bot \u7684 API<\/p>\n<p>  TOKEN = &#8216;Your TOKEN&#8217;<\/p>\n<p>  \u521b\u5efa\u5355\u5143\u6587\u4ef6\uff1avim \/lib\/systemd\/system\/dxysbot.service \u81ea\u884c\u66ff\u6362\u8f93\u5165\u5982\u4e0b\u4fe1\u606f<\/p>\n<p>  &nbsp; &nbsp; &nbsp; &nbsp; <br \/>  Description=A Telegram Bot for querying 2019-nCoV<br \/>  After=network.target network-online.target nss-lookup.target&nbsp; &nbsp; &nbsp; &nbsp; <\/p>\n<p>  &nbsp; &nbsp; &nbsp; &nbsp; <br \/>  Restart=on-failure&nbsp; &nbsp; &nbsp; &nbsp; <br \/>  Type=simple&nbsp; &nbsp; &nbsp; &nbsp; <br \/>  ExecStart=\/usr\/bin\/python3 \/root\/dxys\/src\/main.py&nbsp; &nbsp; &nbsp; &nbsp; <\/p>\n<p>  &nbsp; &nbsp; &nbsp; &nbsp; <br \/>  WantedBy=multi-user.target<\/p>\n<p>  \u91cd\u65b0\u8f7d\u5165 daemon\u3001\u81ea\u542f\u3001\u542f\u52a8<\/p>\n<p>  systemctl daemon-reload<br \/>  systemctl enable dxysbot.service<br \/>  systemctl start dxysbot.service<\/p>\n<p>  ### THANKS<\/p>\n<p>  \u611f\u8c22(https:\/\/github.com\/BlankerL\/DXY-2019-nCoV-Crawler)\u6570\u636e\u63d0\u4f9b<\/p>\n<p>  \u6709\u5927\u4f6c\u76f4\u63a5\u63d0\u4f9b\u6570\u636e\u5c31\u4e0d\u81ea\u5df1\u9020\u8f6e\u5b50\u62ff\u6570\u636e:lol \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>dforel<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c\u516d\u516d\u516d\u3002\u3002\u3002\u6211\u5c31\u770b\u770b\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>image<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u3002\u4e0d\u7528\u53bb\u641c\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5eb7\u67d0\u4eba<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u5173\u95ed\u4e86<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u5eb7\u67d0\u4eba \u4e8e 2020-2-3 01:25 \u7f16\u8f91 <\/p>\n<p> \u7ffb\u6848\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>liyafe1997<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5eb7\u67d0\u4eba \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-2-3 01:23<br \/>  \u7ffb\u6848\uff1f<\/p>\n<p> \u673a\u5668\u4eba\u80fd\u7528\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>liyafe1997 \u5927\u4f6c\u6709\u8bdd\u8bf4 &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\/17302"}],"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=17302"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/17302\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}