Giter VIP home page Giter VIP logo

scraping_web's Introduction

Web Scraping

  • Herramienta de minado para generar una BBDD de contactos comerciales.
  • Mining tool to generate a database of commercial contacts.

Description

  • El proyecto se concibió inicialmente como una práctica en el uso de Beautiful Soup.

  • Utilizando esta biblioteca, se ha desarrollado una herramienta para recopilar la información disponible de todas las empresas registradas en España a partir de un directorio web.

  • The project was initially conceived as a practice in the use of Beautiful Soup.

  • Using this library, a tool has been developed to gather available information from all registered companies in Spain from a web directory.

Contents

Files

Notebooks:

  1. Listados: Genera los listados de municipios por provincia. / Generates lists of municipalities by province.
  2. Mining: Extrae los datos de empresas. / Extracts data of companies.

Script:

  • AxesorMining: Clase donde recopilamos los distintos métodos que usa la herramienta. / Class where we compile the different methods used by the tool.

Getting started

Este proyecto te permite extraer información de las empresas registradas en España a partir de un directorio web. Para empezar, sigue estos pasos:

  • Clona este repositorio en tu máquina local.
  • Crea un entorno virtual e instala las dependencias con pip install -r requirements.txt.
  • Ejecuta el notebook 1-Listados.ipynb para generar los listados de municipios por provincia en la carpeta src\data\0_Provincias.
  • Ejecuta el notebook 2-Mining.ipynb para generar los directorios de empresas por provincia en la carpeta src\data\1_Directorios.
  • Explora los datos obtenidos y disfruta.

This project allows you to extract information from the companies registered in Spain from a web directory. To get started, follow these steps:

  • Clone this repository on your local machine.
  • Create a virtual environment and install the dependencies with pip install -r requirements.txt.
  • Run the notebook 1-Listados.ipynb to generate the lists of municipalities by province in the folder src\data\0_Provincias.
  • Run the notebook 2-Mining.ipynb to generate the directories of companies by province in the folder src\data\1_Directorios.
  • Explore the data obtained and enjoy.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Badges

wakatime

scraping_web's People

Contributors

juandelacuadra avatar

Watchers

Kostas Georgiou avatar  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.