WARNING: For Facebook event pages, this script will only work if Facebook localize you in France (French text).
For other languages, set the correct text in the downloadHTML
function.
- Install deps with
pnpm install
- Create a
.env
file with your OpenRouter API key - Setup playwright with
pnpm exec playwright install chromium
- Change the url in index.ts
- Run the script with
pnpm dev
You should see a nice JSON response in the console.