<textarea class="ruby" cols="60" rows="5" name="code"> require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require "rubygems" require "open-uri" require "logger" require "scrapi" require "jcode" require "uri" class ScrapeSite SITE_URL = "http://**********" def scrape ################################################################### # サイトURL生成 #############################