Classes: Character
"http://www.internationalscientific.org/"
"CharacterEtymology.aspx?characterInput="
12 13 14 15 16 17
# File 'lib/ciyuan.rb', line 12 def search(character) html = open("#{BASE_URL}#{ETHY_PATH}#{CGI::escape(character)}") doc = Nokogiri::HTML(html.read) doc.encoding = 'utf-8' Character.new(doc) end