Overview
Why does skrape{it} provide its own http client implementations?
skrape(HttpFetcher) { // <-- pass any Fetcher, e.g. HttpFetcher, BrowserFetcher, ...
// ... request options goes here, e.g the most basic would be url
url = "https://docs.skrape.it"
expect {}
extract {}
}The Different Fetchers
You want to scrape a simple HTML page, easy, as fast as possible, but with deactivated Javascript?
HttpFetcherYou want to scrape a complex website, maybe a SPA app that has been written with frameworks like React.js, Angular or Vue.js or at least rely on javascript a lot?
BrowserFetcherYou want to scrape multiple HTML pages in parallel from inside a coroutine?
AsyncFetcherLast updated
Was this helpful?