News for hackers. Stuff that matters.
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co... by berkle4455 on Saturday April 01, 2023 @10:41AM (#35400656)
Javascript is delivered as text and sends text-based HTTP calls to the server to fetch more data. Why do you need selenium?
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co... by rhd on Saturday April 01, 2023 @11:06AM (#35400865)
I've once used Selenium to run javascript in the webpage to steal a few dynamic tokens required by the sites API to reuse in my more well-trodden python-requests workflow.
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co... by LelouBil on Saturday April 01, 2023 @02:23PM (#35402654)
if you don't want to reverse engineer the javascript
Re:Show HN: Use cookies from Chrome (CDP) in cURL without co... by KomoD on Sunday April 02, 2023 @12:03PM (#35411987)
Most of the time you don't need to, just open up devtools, look at the network tab, locate the right request(s).