You will absolutely struggle to get all the info you need into 700 tokens per page.
Edit: There's also the added complexity of running a browser against 1M pages, or more.
Edit: There's also the added complexity of running a browser against 1M pages, or more.
This library also supports HTML as input so running a browser is not required.