Skip to content
武汉2019nCov信息爬虫
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
arts feat: support increase info and add lark invite doc Jan 28, 2020
check feat: add check alive python script Jan 29, 2020
wuhanncov feat: support multi lark urls Jan 30, 2020
.gitignore ci: update pypi module name Jan 22, 2020
README.md ci: upgrade to v0.1.5 to avoid two same events with a different title Jan 29, 2020
debug.sh ci: update pypi module name Jan 22, 2020
setup.py ci: upgrade to v0.1.5 to avoid two same events with a different title Jan 29, 2020

README.md

获取武汉 2019nCov信息

算是基本满足我的基本需求,要的自取,欢迎PR。

直接加入飞书接收通知

我和“武汉2019nCoV情况通知”的小伙伴都在飞书等你,用这个专属链接加入我们吧!https://go.feishu.cn/gYyh9M/

安装

sudo pip install Wuhan2019nCoV

如果你是Mac OS,请通过Ruby安装terminal-notifier来接收通知:

sudo gem install terminal-notifier

升级

sudo pip install Wuhan2019nCoV --upgrade

使用

whncov

=======================================================
<总数量变化>
=======================================================
<新增新闻>
--------------
<新增新闻>
--------------
<新增新闻>
--------------
[  =    ] [Last Refresh Success] waiting next check less 0s
$ whncov --help
-------------------------------------------------------
                  WuHan 2019nCov v0.1.5

     https://github.com/Jacksgong/wuhan-2019-nCoV
    This tool is used for crawl Wuhan 2019nCov Info

                   Hope You Safe!
-------------------------------------------------------
usage: whncov [-h] [-lark-url LARK_URL] [--hide-terminal-process]
              [--ignore-first-two-note]
              [dimension [dimension ...]]

This tool is used for crawl Wuhan 2019nCov Info

positional arguments:
  dimension             output dimensions: lark, terminal, all, mac

optional arguments:
  -h, --help            show this help message and exit
  -lark-url LARK_URL, --lark-url LARK_URL
                        the webhook or lark url for lark dimension for lark
                        notify
  --hide-terminal-process
                        whether need to hide process waiting output
  --ignore-first-two-note
                        whether need to ignore first two output

LICENSE

Copyright (C) 2020 Jacksgong.com.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.