Giter VIP home page Giter VIP logo

gvteja99 / vendordetails_scraper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

This project automates the extraction of street vendor details from the PMSVANidhi Portal for selected Urban Local Bodies (ULBs) in Gujarat. Developed using Python and Selenium, it navigates the portal, performs searches for specified ULBs, and captures vendor details, saving them into a CSV file.

Jupyter Notebook 100.00%

vendordetails_scraper's Introduction

PMSVANidhi Portal Scraper for Street Vendor Details

The PMSVANidhi Portal, developed by SIDBI in collaboration with MoHUA, serves as a digital platform for street vendors to apply for benefits under the PMSVANidhi Scheme. It provides guidelines and facilitates loan applications, emphasizing user data protection and responsibility. However, it doesn't guarantee loan approvals, which are at the lenders' discretion.

This script (vendor_list.py) automates the process of scraping the complete details of street vendors from selected Urban Local Bodies (ULBs) using Selenium.

Requirements:

  • Python
  • Selenium
  • ChromeDriverManager
  • tqdm (for progress bars)
  • pandas

Installation:

  1. Setup:
    • Ensure you have the necessary libraries installed:
      pip install selenium webdriver_manager tqdm pandas
      

How to Use:

  1. Run the Script:

    • Execute the script using:
      python vendor_list.py
      
  2. Output:

    • Once the script completes its execution, it will save the scraped data in a CSV file named vendor_list.csv.

Features:

  • The script targets the website https://pmsvanidhi.mohua.gov.in/Schemes/SearchVendor.
  • It is set to scrape data for the state of GUJARAT.
  • The ULB covered in this script are: 'Ahmedabad'. You can also give a list of ULBs to scrape.
  • The details extracted include: SRN No, SV Name, Father’s Name/Spouse Name, ULB Name, Gender, Age, and DOB.

Precautions:

  • Ensure you have a stable internet connection.
  • Do not manually interrupt the browser while the script is running.

Permissions and Legalities:

  • According to the website's robots.txt, scraping isn't disallowed and the script waits 10 seconds before requesting new information.
  • Additionally, nothing is stated in the website's Terms & Conditions, Privacy Policy, and Disclaimer regarding restrictions against web scraping.

However, always remember:

  • It is essential to review and respect a website's robots.txt file, terms of service, and other legal documents regularly, as they may change over time.
  • Ensure you are compliant with all local, state, national, and international regulations when scraping and using the data.

vendordetails_scraper's People

Contributors

gvteja99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.