Skip to content

Web Scraper python tool to get the weather information and weather news.

License

Notifications You must be signed in to change notification settings

emontes22/Weather_Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather_Scraper

This project is a Python script that scrapes weather information from https://www.accuweather.com and sends it to a Telegram bot. It uses mainly two libraries. BeautifulSoup for web scraping and Python-telegram-bot library to be able to interact with the telegram bot.

Features

  • Scrapes current weather information from a specified URL.
  • Scrapes "Top Stories" and "Featured Stories" sections from the same URL
  • Sends the collected data to a Telegram bot to always stay on top of current weather and information.

Image of telegram bot 1 Image of telegram bot 2

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.11
  • Required python libraries (included in requirements.txt)

Setup and Usage

  1. Clone this repository (git clone https://github.com/emontes22/Weather_Scraper.git).
  2. Nagivate to the project directory.
  3. Configure the script:
  4. Run the script. ('python tele_bot.py' or 'python3 tele_bot.py')
  5. The script will scrape the data and send it to your Telegram bot.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Web Scraper python tool to get the weather information and weather news.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages