Elixir関連の記事を眺めていたら以下の記事を見つけた。面白そうなので試してみる。 Scraping a Website with Elixir – Robert Lord core.garbage-collection.net 基本的には上記の記事に沿う。 PhantomJSのインストール npm --save phantomjs pakcage.jsonにrun scriptを追加。 ...(省略) "scripts": { "phantomjs": "phantomjs --webdriver=5555", "test": "echo \"Error: no test specified\" && exit 1" }, ...(省略) プロジェクトの作成 mix new elixir_scraping_sample mix.exsにHoundを追加。最新は0.7.6。(0.7.2を
![Elixir + Phantomjsでスクレイピングしてスクリーンショットとニュースの見出しをとる - undefined](https://cdn-ak-scissors.b.st-hatena.com/image/square/3c34bf1befdbc1e1d12e31dbdb85c63d3a11db99/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fb%2Fbokuweb%2F20151128%2F20151128184416.png)