Mercurial > hg > pmhd
view script.rb @ 13:844d341cf643 tip
Back up before ISMIR
author | Yading Song <yading.song@eecs.qmul.ac.uk> |
---|---|
date | Thu, 31 Oct 2013 13:17:06 +0000 |
parents | 8c29444cb5fd |
children |
line wrap: on
line source
require 'open-uri' kittens = open('http://placekitten.com/') response_status = kittens.status response_body = kittens.read[559, 441] puts response_status puts response_body