Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

Open Url in ruby

require 'open-uri'

url = 'https://www.website.com'

puts open(url).read # => Content of the webpage

puts open(url).read.class # => String
Source by kitt.lewagon.com #
 
PREVIOUS NEXT
Tagged: #Open #Url #ruby
ADD COMMENT
Topic
Name
7+8 =