Last active
August 29, 2015 14:14
-
-
Save isaldin/785f0eff0b96578cfa5c to your computer and use it in GitHub Desktop.
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 'wombat' | |
require 'json' | |
data = Wombat.crawl do | |
base_url "http://www.halykbank.kz/" | |
path "/" | |
rates "css=#home div.home-right div.rates table.rates-1 tr", :iterator do | |
rate "css=td", :list | |
end | |
end | |
print data["rates"][1..3].to_json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment