Cilantro Ditrek
Cilantro Ditrek

Reputation: 1097

How can I use a headless browser with Rails?

I'm a beginner when it comes to web development and I'm trying to crawl a webpage (a facebook for my school) using a headless browser for my app. I'm not sure where to begin with headless browsers (or basic crawling for that matter) and I'm not sure how to use it in my code to access the source code and parse through it. Any help on the matter would be super useful. Thanks!

Upvotes: 0

Views: 519

Answers (1)

gmacdougall
gmacdougall

Reputation: 4901

You should give the Nokogiri library a try. It should provide what you're looking for.

Upvotes: 1

Related Questions