summaryrefslogtreecommitdiff
path: root/geturl.rb
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2024-10-09 01:37:37 +0900
committerhaturatu <taro@eyes4you.org>2024-10-09 01:37:37 +0900
commit9f6b3b2b7c9e757c108ffc87694826cf20fc642e (patch)
tree135c99de5fce87cdea4d511468cfed4fa8524d9a /geturl.rb
parent031b8014901bd101d92af148a841e9b9c8fb59f5 (diff)
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