/covid19_sokuho

新型コロナ感染者数速報BOT (Twitter Bot)

Primary LanguagePythonMIT LicenseMIT

新型コロナ感染者数速報BOT(Twitter Bot

新型コロナウイルスの感染者数を自動的にツイートするBotです。
要望があれば、ツイート対象地域を広げます(DMしてください)。

About

自動で10分おきに感染者数情報を取得しツイートするので、いち早く感染者数情報をお届けすることができます。

Point

他のウェブサイト・テレビなどの他のメディアとは違い、Twitterの通知さえオンにしておけば、通知も受け取ることができます。

Requirement

  • Python 3.8.5(これでなくても動く可能性が高いが、Python3以上であることが望ましい)
  • Tweepy
  • Requests
  • BeautifulSoup

Installation

pip install -r requirements.txt

Usage

cd directory
python tweet.py

Note

  • 感染者数情報はスマートニュースから取得しています。
  • 当アカウント・プログラムの使用等に伴う責任は一切負いません。
  • 当プログラムはブログでも紹介しています。ぜひご覧ください。

Author

License

MIT License

Copyright (c) 2021 U_SAY

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.