Re:Show HN: Use cookies from Chrome (CDP) in cURL without co...
by bdcravens on Saturday April 01, 2023 @12:08PM
(#35401376)
If you'd be standing up CDP to grab the cookies, you'd probably use Puppeteer or Playwright instead of Selenium.
[ Parent
| on HN ]
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co...
by juujian on Saturday April 01, 2023 @12:23PM
(#35401510)
Appreciate the recommendation, I just used whatever python had to offer, Puppeteer looks promising though!
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co...
by bdcravens on Saturday April 01, 2023 @12:40PM
(#35401668)
Using the tools at hand is often the best approach. That said, I've spent most of the last 13 years of my career automating browsers. For years, I used Selenium with a variety of libraries. After switching to Puppeteer/Playwright, I have zero interest in going back lol. Playwright actually has first party Python support. (Puppeteer has a port called Pyppeteer, but it's no longer maintained and the author recommends using Playwright)
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co...
by rgrieselhuber on Saturday April 01, 2023 @04:17PM
(#35403680)
I second Playwright, it's amazing.
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co...
by robertlagrant on Saturday April 01, 2023 @06:29PM
(#35404798)
Third.