Skip to content

Instantly share code, notes, and snippets.

@alea12
Created December 12, 2013 03:27
Show Gist options
  • Save alea12/7922775 to your computer and use it in GitHub Desktop.
Save alea12/7922775 to your computer and use it in GitHub Desktop.
nokogiri で ajax 使われてるサイトをパースしたい場合、どうしたら良いんだろう
require 'nokogiri'
require 'open-uri'
require 'pp'
html = open('')
sleep 10
doc = Nokogiri::HTML(html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment