Tuesday 25 June 2019

Is it possible to make requests using an existing session?

Let's say I open up Chrome and browse around a website / sign in / whatever.​Let's say I then want to scrape some content that is on pages that require certain cookies / your login.​Is it possible to "hijack" the chrome session and make requests from there (using the request module's jar functionality for instance)?​I usually do this with Puppeteer or by trying to replicate a weird request chain as observed in Google DevTool's Network tab.

Submitted June 25, 2019 at 05:03PM by BobbyBucketsBarks

No comments:

Post a Comment