RSSAmplifier

galvanist · Mar 20, 2014

More Web Scraping with Phantomjs & CoffeeScript

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

I’ve been playing with Phantomjs and CoffeeScript a bit more. In this example I load the first page of google news, extract all the links and link text, and write them to stdout in markdown format. 
 # headlines: generate markdown-formatted output with just the headlines
 # and links from the main google news page (no sections, nothing fancy)
 page_url = 'http://news.google.com/'…

Read on /posts/2014-03-20-more-web-scraping-with-phantomjs-coffeescript/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.