2019-01-23 23:43:43 UNSELECTED

Unknown type code

Copy Copied! Full
#!/usr/bin/env ruby #和英 require "uri" require "open-uri" unless ARGV[0]==nil open(URI.encode("https://ejje.weblio.jp/content/#{ARGV[0]}")){|mean| data=mean.read.scan(/content=\"(.*)\"?>/).flatten puts data[-1].gsub('"',"")} else puts "駄目." end
RECOMMEND