Skip to content

A telegram bot that gives you instantaneous IPL match updates.

Notifications You must be signed in to change notification settings

mahathiamencherla/Telegram-IPL-bot

Repository files navigation

Telegram-IPL-bot

A telegram bot that gives you instanteneous IPL match updates LIVE.

This bot uses the PyCricbuzz library in python which takes its data from the Cricbuzz api.

Find this bot on telegram:

Search for "Dream11 IPL Updates" or username- @IPL_Stats_Bot

Note: Use branch WithoutProxy
The master branch has the IP Spoofing with round robin still in progress

Some key concepts covered:

  • Object Oriented Programming
  • Threading
  • Domain IP Spoofing
  • Web Crawling

Few things to note:

  • Cricbuzz blocks all incoming requests from cloud servers (Heroku, AWS, GCP, or pythonanywhere)
  • We achieved a workaround by implementing Domain IP Spoofing.
  • You can get free proxy IPs from -
https://free-proxy-list.net/
  1. You can create your own bot using the BotFather on telegram (This gives you the telegram bot token)

Cloning this repository

https://github.com/mahathiamencherla15/Telegram-IPL-bot.git

Setup locally

  1. Comment the environ lines in bot.py (this is used during deployment only)

  2. Create a config.cfg file

  3. In your config file, create an env variable as follows-

[credentials]
token = YOUR_TELEGRAM_TOKEN
  1. Run the following command
python3 server.py

About

A telegram bot that gives you instantaneous IPL match updates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages