summaryrefslogtreecommitdiff
path: root/app/lib
diff options
context:
space:
mode:
authoryyamashita <yyamashita@mosquit.one>2026-05-10 22:47:46 +0900
committeryyamashita <yyamashita@mosquit.one>2026-05-10 22:47:46 +0900
commit05d2b35a85a46dde9a1264d3002ba86e02e3d5eb (patch)
treef7722156b80b7c9d7518b05f5ce4bed2e048ef16 /app/lib
parentc7b05e3667a4f8b84b1048cdd851149284d4926d (diff)
Add calendar export (Google/ICS) and extend scrape window to 65 days
- Event detail page: add Google Calendar link and .ics download button - New route GET /api/events/:id/calendar.ics returns RFC 5545 iCalendar - Scrape window extended from 35 → 65 days (~2 months ahead) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/scraper-runner.server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/scraper-runner.server.ts b/app/lib/scraper-runner.server.ts
index 8392ead..f0e2ffd 100644
--- a/app/lib/scraper-runner.server.ts
+++ b/app/lib/scraper-runner.server.ts
@@ -11,7 +11,7 @@ import { closeBrowser } from "./playwright.server";
import { ALL_SCRAPERS } from "~/scrapers/index";
import type { EventInput } from "./db.server";
-const SCRAPE_WINDOW_DAYS = 35;
+const SCRAPE_WINDOW_DAYS = 65;
function scrapeWindow(): { from: string; to: string } {
const from = new Date();