pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DevCBogota/JSWebScraping

41adf21fe337.css" /> GitHub - DevCBogota/JSWebScraping: A sample web scrapper for Node.js
Skip to content

DevCBogota/JSWebScraping

Repository files navigation

CircleCI

Un ejemplo de web scraping usando JavaScript (Node)

¿Qué es esto?

Unos cuántos ejemplos de cómo usar Puppeteer para hacer scraping de aplicaciones web. Esto nos permite crear APIs donde no las hay, tomando la información de las páginas web. Se usa http://books.toscrape.com/, una página inventada para practicar.

Uso

Instalación de dependencias

git clone https://github.com/DevCBogota/JSWebScraping.git cd JSWebScraping npm i

Ejecución

Existen 3 ejemplos:

  • basico:
    • Hace click en un botón, muestra el resultado.
    • npm run basico
  • ciclo:
    • Selecciona todos los elementos que coinciden con el parámetro, muestra el resultado.
    • npm run ciclo
  • screenshot:
    • Toma un pantallazo de la página.
    • npm run screenshot

Presentación relacionada

https://drive.google.com/open?id=1ZKqmJyyE1_EA9BCR6HLMPv9yPefu90aGggdpYGJR6gI

About

A sample web scrapper for Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy