skrapeit / skrapeit-docs

source of the skrape{it} documentation
https://docs.skrape.it
2 stars 6 forks source link

Scraping Example outdated? #7

Open Clindbergh opened 1 year ago

Clindbergh commented 1 year ago

I am new to skrape{it} (and rather new to Kotlin).

The well-explained Scraping example only worked after replacing these lines

    val extracted = skrape { // 1️⃣
       url = "https://github.com/skrapeit" 

with

    val extracted = skrape(HttpFetcher) { // 1️⃣
        request {
            url = "https://github.com/skrapeit"
        }

Perhaps other modifications or further explanation are needed.

Clindbergh commented 1 year ago

Note: There are also a number of open Pull requests for this site.