https://github.com/lordshenron/covid19_stats
A simple python script that can fetch covid 19 stats and send them to telegram, Based on Emanuel Ramirez's script.
https://github.com/lordshenron/covid19_stats
coronavirus coronavirus-tracking python python3 shell shell-script
Last synced: 2 months ago
JSON representation
A simple python script that can fetch covid 19 stats and send them to telegram, Based on Emanuel Ramirez's script.
- Host: GitHub
- URL: https://github.com/lordshenron/covid19_stats
- Owner: LordShenron
- License: mit
- Created: 2020-07-31T04:00:42.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-08-04T16:42:40.000Z (almost 6 years ago)
- Last Synced: 2025-05-15T17:50:53.927Z (about 1 year ago)
- Topics: coronavirus, coronavirus-tracking, python, python3, shell, shell-script
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COVID-19 Stats
A simple python script that can fetch covid 19 stats from the virus tracker, Based on Emanuel Ramirez's script but a lot simpler and only for India.
There is another script that can send the stats fetched from the virus tracker to Telegram channels using a @BotFather bot.
# Dependencies
```
requests==2.23.0
```
# How to use
1. Clone the script
```
git clone https://github.com/LordShenron/Covid19_Stats covid-stats && cd covid-stats
```
2. Create a Telegram using @BotFather and add the HTTP_TOKEN to the corona.sh
3. Add the bot you created to any Telegram group or channel.
4. Add the username or userid of the channel or group to the corona.sh
5. Execute the scripts
```
chmod +x corona*
./corona.sh
```
# You can automate the execution of script, I will leave that to you.