Chrome Devtools: Save specific requests in Network Tab

£可爱£侵袭症+ 提交于 2019-12-18 11:55:30

问题


Can I save just specific requests in the Chrome Devtools Network tab?

It would be very useful to me since our company uses web crawling to fetch info from extranets, and the most I can do is to record (with the rec button) all the requests made to reach for a specific info, and if I want to save the desired requests/responses in a file to analyze them later, all I can do is to save it all as a .har file, which saves EVERYTHING, including every resource (images, css, js, etc), filling the file with lots of useless info for my purpose.

Another way would be to copy and paste just the requests filtered with Documents + XHR + Other, which I don't like either because it's not structured in a JSON format like the HAR file does.


回答1:


There is a chrome extension named Network.Recorder which retains Network Requests when ext icon is clicked on, and when clicked off, prompts you to save content to a local file. This might help.



来源:https://stackoverflow.com/questions/22955932/chrome-devtools-save-specific-requests-in-network-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!