Sha256: 39f8f195af61a96b68271220a6242454532d6361321ae8b4ec2bb7d0e262dee9
Contents?: true
Size: 226 Bytes
Versions: 19
Compression:
Stored size: 226 Bytes
Contents
require "open-uri" url = "https://www.aozora.gr.jp/cards/001779/files/56647_58167.html" filename = "nisendouka.html" File.open(filename, "wb") do |f| text = open(url, "r:shift_jis").read f.write text.encode("utf-8") end
Version data entries
19 entries across 19 versions & 1 rubygems