From 9f6b3b2b7c9e757c108ffc87694826cf20fc642e Mon Sep 17 00:00:00 2001 From: haturatu Date: Wed, 9 Oct 2024 01:37:37 +0900 Subject: fix --- geturl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geturl.rb') 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 -- cgit v1.2.3