fix(newsletter): use follow_redirects=False to avoid false positive on 404 redirect

Beehiiv redirects non-existent newsletters to /?404=... with HTTP 302.
With follow_redirects=True, the final 200 was misread as "newsletter exists".
Fix: disable redirect following so only a direct HTTP 200 = newsletter real.
Also reset state back to last_sent=13 (real).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 17:06:00 +00:00
parent 5fafc29dc1
commit 9d447b9ff1
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1 @@
{
"last_sent": 13,
"year": 2026,
"last_sent_at": "2026-04-02T18:59:37.878273+00:00"
}
{"last_sent": 13, "year": 2026, "last_sent_at": "2026-04-02T18:18:46.000000+00:00"}