summaryrefslogtreecommitdiff
path: root/geturl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'geturl.rb')
-rwxr-xr-xgeturl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/geturl.rb b/geturl.rb
index c5422c3..3caf34f 100755
--- a/geturl.rb
+++ b/geturl.rb
@@ -70,7 +70,7 @@ def process_url(url)
if title.start_with?('エラー:')
File.open($OTHER_ERROR_FILE, 'a') { |f| f.puts "URL: #{url}\nエラー: #{title}\n\n" }
else
- File.open($RESULT_FILE, 'a') { |f| f.puts "URL: #{url}\nタイトル: #{title}\n\n" }
+ File.open($RESULT_FILE, 'a') { |f| f.puts "URL: #{url}\nTitle: #{title}\n\n" }
end
puts "URL: #{url}\nタイトル: #{title}\n\n"
end