This is a simple scraper showing you how to use PhantomJS with Ruby.
Here's what it does:
- Visits the morph.io home page
- Because the headless browser is a small window it now has to click the button to open the navigation menu so we can see the search box
- It enters a search for "planningalerts" into the search box and clicks the submit button
- After waiting for the results to appear (see the important gotcha in the code comments!) it outputs the full names of all the scrapers on the search results page
Any questions? Hit up the help forum.