Public
Like
2
scrape-website
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v19View latest version
Please see the file scrape.tsx
on how to scrape a website with a real browser through TestingBot.
Simply provide a URL
and selector
to scrape a specific part of a page.
For example:
console.log("Scrape result:", await ScrapeWebsite("https://en.wikipedia.org/wiki/OpenAI", "p:nth-of-type(2)"));