I've got a script that automates downloading some a number of files from a webpage. I need to log into the page, so the download request requires things like secure cookies and other headers.
I've created a bookmarklet to quickly grab the ID's I need and paste them into my script, but I also need to go to the network tab, right click a request, copy
/ Copy as Fetch (node.js)
and then pull out the 2 lines I need and feed them into the script - is there any way to streamline this step?
To be clear, this is not violating any ToS or anything, it just saves me having to make 100+ clicks to download 100+ reports on the poorly created interface.