You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to use node-website-scraper with your puppeteer plugin to scrape dynamic web applications, and using cookies for login.
If I have 6 cookies like this: https://i.imgur.com/QTQl9Jx.png
Do I need to set 'Set-Cookie' six times? Because I am trying to set cookies to log into a site then scrape it, however the scraped output keeps outputting the login page.
Or is there a way to convert puppeteer json cookies to cookies I can set here? I can use puppeteer on its own and login to site and dump my cookies, and then use the cookies to see the page but I only get a single html file with puppeteer on its own, no css or js like your node-website-scraper so I want to use your program to clone the app as your program correctly clones it with all styling.
The text was updated successfully, but these errors were encountered:
I think you may need to use cookie header instead of set-cookie, please check my comment.
Hope it helps
Thank you for your reply Sophie! :) I believe I used both headers at the same time in case it was either one that was correct and it still didn't work, but I will try using just cookie. Thank you again!
Hello,
i am trying to use node-website-scraper with your puppeteer plugin to scrape dynamic web applications, and using cookies for login.
If I have 6 cookies like this:
https://i.imgur.com/QTQl9Jx.png
Do I need to set 'Set-Cookie' six times? Because I am trying to set cookies to log into a site then scrape it, however the scraped output keeps outputting the login page.
Or is there a way to convert puppeteer json cookies to cookies I can set here? I can use puppeteer on its own and login to site and dump my cookies, and then use the cookies to see the page but I only get a single html file with puppeteer on its own, no css or js like your node-website-scraper so I want to use your program to clone the app as your program correctly clones it with all styling.
The text was updated successfully, but these errors were encountered: