Code Monkey home page Code Monkey logo

justdail-scrapper's Introduction

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

justdail-scrapper's People

Contributors

harsh4870 avatar khatriafaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

justdail-scrapper's Issues

please update SVG maping for mobile number

def which_digit(html):
mappingDict={'icon-ji':9,
'icon-dc':'+',
'icon-fe':'(',
'icon-hg':')',
'icon-ba':'-',
'icon-lk':8,
'icon-nm':7,
'icon-po':6,
'icon-rq':5,
'icon-ts':4,
'icon-vu':3,
'icon-wx':2,
'icon-yz':1,
'icon-acb':0,
}
return mappingDict.get(html,'')

Please update this

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.