DEV Community

Alef Ojeda de Oliveira
Alef Ojeda de Oliveira

Posted on

4 2

How to create a web-crawler in ruby ?

Hello Devs!
I was looking to make a webcrawler based application with Ruby on Rails, and I could see that it is very simple.

Using the gems already native in Rails, such as: (nokogiri and open-uri)

see how it was an example of searching for quotes on the site http://quotes.toscrape.com/.

Alt Text

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free