Skip to content

Revolutionize bus travel with our Redbus Data Scraping and Filtering app! Using Selenium, we automate data extraction on routes, schedules, and prices, enabling data-driven decisions for enhanced operational efficiency in the transportation industry.

Notifications You must be signed in to change notification settings

Samuelson777/Redbus-Data-Scraping-with-Selenium-Dynamic-Filtering-using-Streamlit

Repository files navigation

Redbus-Data-Scraping-with-Selenium-Dynamic-Filtering-using-Streamlit

Introduction

  • The 'Redbus Data Scraping and Filtering with Streamlit Application' aims to revolutionize the transportation industry by providing a comprehensive solution for collecting, analyzing, and visualizing bus travel data. By utilizing Selenium for web scraping, this project automates the extraction of detailed information from Redbus, including bus routes, schedules, prices, and seat availability. By streamlining data collection and providing powerful tools for data-driven decision-making, this project can significantly improve operational efficiency and strategic planning in the transportation industry.

Domain

  • TRANSPORTATION

SKILL-TAKEAWAY

  • Python scripting,Selenium,Data Collection,Data Management using PostgreSQL,Streamlit

TECHNOLOGY USED

  • Python 3.12.7
  • pgAdmin4
  • Streamlit
  • Selenium

FEATURES OF APPLICATION

Retrive the Bus Information:

 Selenium is a powerful tool for automating web browsers, which is especially useful for web scraping tasks. If you want to retrieve bus details from RedBus, you can use Selenium to automate the process of searching for buses and extracting the relevant information. This involves interacting with web elements like input fields and buttons, waiting for the page to load, and extracting the desired details from the search results.

Store data in database:

  • The collected bus details data was transformed into pandas dataframes. Before that, a new database and tables were created using the Postgresql connector. With the help of Postgresql, the data was inserted into the respective tables. The database could be accessed and managed in the Postgresql environment.

web app - streamlit:

  • With the help of Streamlit, you can create an interactive application similar to RedBus by designing a user-friendly interface that allows users to search for bus routes, view available buses, and get details like departure times and prices

PACKAGES AND LIBRARIES

  • pandas as pd
  • psycopg2
  • import time
  • streamlit as slt
  • plotly
  • import datetime
  • from streamlit_option_menu import option_menu
  • from selenium import webdriver

Image1 Image2 Image3 Image4 Image5

Redbus-Data-Scraping-with-Selenium-Dynamic-Filtering-using-Streamlit App Link: https://wuazfmtjvbhhbzv77wgiwq.streamlit.app/

About

Revolutionize bus travel with our Redbus Data Scraping and Filtering app! Using Selenium, we automate data extraction on routes, schedules, and prices, enabling data-driven decisions for enhanced operational efficiency in the transportation industry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published