skrapeit / skrape.it

A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
https://docs.skrape.it
MIT License
813 stars 59 forks source link

[QUESTION] Preserve cookies between requests? #231

Closed pisoj closed 1 year ago

pisoj commented 1 year ago

describe what you want to archive I want to pass cookies set by the first response to the next one, but the response function returns them as a list of Cookie objects and the request function wants them as a map. Should I manually convert them or is there an official way to do this?

Code Sample If applicable, add a small sample code that illustrates your question.

Version: 1.1.5