From b68a9833d8fbda22c5cc83cf9aa032864e9690f8 Mon Sep 17 00:00:00 2001 From: jim Date: Thu, 7 May 2026 16:16:29 -0500 Subject: [PATCH] chore: format remaining blog/post log output as .tumblr.com/post/ Apply the URL format to the remaining 6 console log lines that still referenced posts in / form (404 logs, max-page-limit log, DumpReplies console output). Co-Authored-By: Claude Sonnet 4.6 --- URLNotesGrabberCORE/Program.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/URLNotesGrabberCORE/Program.cs b/URLNotesGrabberCORE/Program.cs index eafb767..f28bed6 100644 --- a/URLNotesGrabberCORE/Program.cs +++ b/URLNotesGrabberCORE/Program.cs @@ -373,7 +373,7 @@ namespace URLNotesGrabberCORE { foreach (var post in posts) { - Console.WriteLine(@"https://tumblr.com/{0}/{1}", post.Item1, post.Item2); + Console.WriteLine(@"https://{0}.tumblr.com/post/{1}", post.Item1, post.Item2); sw.WriteLine(@"https://tumblr.com/{0}/{1}", post.Item1, post.Item2); } } @@ -941,7 +941,7 @@ namespace URLNotesGrabberCORE if (IsNotFound(response)) { - Console.WriteLine($"API returned 404 Not Found for {post.Item1}/{post.Item2}"); + Console.WriteLine($"API returned 404 Not Found for {post.Item1}.tumblr.com/post/{post.Item2}"); DataAccess.UpdatePostMarkNotFound(post.Item1, post.Item2); Thread.Sleep(1000); return "NotFound"; @@ -982,7 +982,7 @@ namespace URLNotesGrabberCORE { if (IsNotFound(response)) { - Console.WriteLine($"API returned 404 Not Found for {post.Item1}/{post.Item2} (empty response payload)"); + Console.WriteLine($"API returned 404 Not Found for {post.Item1}.tumblr.com/post/{post.Item2} (empty response payload)"); DataAccess.UpdatePostMarkNotFound(post.Item1, post.Item2); return "NotFound"; } @@ -993,7 +993,7 @@ namespace URLNotesGrabberCORE { if (IsNotFound(response)) { - Console.WriteLine($"API returned 404 Not Found for {post.Item1}/{post.Item2} (notes payload missing)"); + Console.WriteLine($"API returned 404 Not Found for {post.Item1}.tumblr.com/post/{post.Item2} (notes payload missing)"); DataAccess.UpdatePostMarkNotFound(post.Item1, post.Item2); return "NotFound"; } @@ -1016,7 +1016,7 @@ namespace URLNotesGrabberCORE page++; if (page > maxPages) { - Console.WriteLine($"[GrabNotes] ERROR: Max page limit ({maxPages}) reached for {post.Item1}/{post.Item2}. Aborting further pagination."); + Console.WriteLine($"[GrabNotes] ERROR: Max page limit ({maxPages}) reached for {post.Item1}.tumblr.com/post/{post.Item2}. Aborting further pagination."); break; } @@ -1033,7 +1033,7 @@ namespace URLNotesGrabberCORE if (IsNotFound(response)) { - Console.WriteLine($"API returned 404 Not Found during pagination for {post.Item1}/{post.Item2}"); + Console.WriteLine($"API returned 404 Not Found during pagination for {post.Item1}.tumblr.com/post/{post.Item2}"); DataAccess.UpdatePostMarkNotFound(post.Item1, post.Item2); return "NotFound"; }