Created
December 12, 2013 03:27
-
-
Save alea12/7922775 to your computer and use it in GitHub Desktop.
nokogiri で ajax 使われてるサイトをパースしたい場合、どうしたら良いんだろう
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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