Save XHR files into local drive

4,178 views
Skip to first unread message

rafi ansari

unread,
Jul 8, 2018, 5:41:14 AM7/8/18
to Chrome DevTools
Hello All,
I need your help to save all XHR files (receiving every second) into local drive. below is the details Image also attached.

i have a login of highly secure(banking grade security )stock related site, which shows stock statics(change every second). I also can see this data as string in XHR Response, as every second system received new XHR. I want to save all XHR File which i am getting every second to my local disk to process further. 

Can someone help me to do that...?

Thanks a lot...!!



XHR.JPG

PhistucK

unread,
Jul 8, 2018, 5:44:36 AM7/8/18
to Google Chrome Developer Tools
Developer Tools extensions cannot save files to the local drive.
You might be able to do that if you leverage the Chrome Remote Debugging protocol (using an external application), or if extensions can get the log, you can "forward" (send another request with the response data) the response to your own local server which can save the files.


PhistucK


--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/f90733b9-53c9-4036-b6bf-fc35dfc1ccb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rafi ansari

unread,
Jul 11, 2018, 9:41:00 AM7/11/18
to Chrome DevTools
I have not seen and ext log :(. but i guess there should be any ways to get all done

Steve

unread,
Feb 13, 2019, 3:36:35 AM2/13/19
to Chrome DevTools
Hey rafi, did you find a way to do this? I have exactly the same problem and especially want to find a way to automate downloading of such files via a script or something. Please let me know if you found a solution. Thanks. 

rafi ansari

unread,
Feb 13, 2019, 12:55:00 PM2/13/19
to google-chrome-...@googlegroups.com
hi,
Yes I found the solution. through Chrome you can not save XHR, Hence you use fiddler (open source). once you install, then modify 2-3 line code, It's Done now. all desired XHR Filles will be save to your directory.
if you face any difficulty let me know.

BR//


--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages