Hi, I'm trying to scrap a web and it's throwing an...
# skrape-it
s
Hi, I'm trying to scrap a web and it's throwing an error like Exception in thread "main" java.lang.IllegalArgumentException: unexpected encodedPath:
Copy code
val extracted = skrape(HttpFetcher) {
    request {
        url = config.getString("url")
    }

    extract { 
        htmlDocument {
            h1 { findFirst { text } }
        } 
    }
}
Also, I don't see the option to ignoreContentType, since maybe it's the problem Fixed, error is caused by not adding a '/' to the end of the url