From 0cd5fb770ca9bd3f304d9556a4b33a4ad4f45e7e Mon Sep 17 00:00:00 2001 From: yyamashita Date: Thu, 7 May 2026 10:16:43 +0900 Subject: Playwright scraping for FLAT/Pitbar; web UI display-only - Install Playwright + Chromium; add shared browser singleton (playwright.server.ts) - Rewrite flat-nishiogikubo scraper: Wix calendar via headless browser, month navigation via date picker, extracts .WPczEB/.ExCBIq selectors - Rewrite pitbar-nishiogikubo scraper: freecalend.com via headless browser, parses cal-{member}-{year}-{month}-{day} cell IDs - scraper-runner: close shared browser after each run with closeBrowser() - Remove all scrape trigger buttons from web UI (events index, venues page); remove /api/scrape and /api/scrape-status from routes.ts Co-Authored-By: Claude Sonnet 4.6 --- app/routes.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/routes.ts') diff --git a/app/routes.ts b/app/routes.ts index c0096e1..74fb552 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -7,6 +7,4 @@ export default [ route(":id", "routes/events.$id.tsx"), ]), route("venues", "routes/venues.tsx"), - route("api/scrape", "routes/api.scrape.ts"), - route("api/scrape-status", "routes/api.scrape-status.ts"), ] satisfies RouteConfig; -- cgit v1.2.3