DEV Community

Cover image for Let's Build a Web Scraper with Cypress!
Brett Cassette
Brett Cassette

Posted on

1 1

Let's Build a Web Scraper with Cypress!

Check out the Free Lesson on Egghead.io

What would you build if you had a web scraper?

  • Maybe your fitness tracker has no public API?
  • Or you want to always outprice your competitors?
  • Maybe you want to correlate and visualize data from multiple, disconnected platforms?
  • Want to automate common tasks on an external site?

Or maybe you're like me, and the website that lists all your open mic comedy events doesn't have any ability to search, filter, or show event locations on a map.

So how do we ingest this data for fun and profit?

Cypress to the Rescue

Cypress is a blazing-fast end-to-end testing framework. Since it can interact with any webpage, we can also use it to automate interactions with external sites!

Build it along with me in this free lesson on Egghead.io!

Check out the Free Lesson on Egghead.io

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (2)

Collapse
 
venkatcoderbloom profile image
Venkatesh vellingiri

Hi Brett,
I enjoyed scrapping of data using cypress.

I scrapped a web application which contains a list of data. Is it possible for me to use that in node.js API for processsing.

Collapse
 
cubiclebuddha profile image
Cubicle Buddha

Cypress is the best. Once it came out I was so happy to stop using CasperJS and Slimer. I don’t know if I could do (enterprise grade) UI development without Cypress.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs