Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 890 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 890 Bytes

Justdail-scrapper

Justdail python data scrapper

A python Programm to extract data of specific business query from a city, from justdial.

  1. extract phone number
  2. extract name
  3. extract address
  4. extract rating
  5. extract rating_count

Installation

PIP to install the following packages in Python (https://pip.pypa.io/en/stable/installing/)

Python Requests, to make requests and download the HTML content of the pages (http://docs.python-requests.org/en/master/user/install/)

Python LXML, for parsing the HTML Tree Structure using Xpaths (Learn how to install that here – http://lxml.de/installation.html)

pip install beautifulsoup4

pip install requests

pip install urllib

pip install csv

Running the scraper

We would execute the code with the script name followed by the positional arguments keyword and place.

python3 -W ignore justdail.py