Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static function OnBeforeResponse(oSession: Session) {
- if (m_Hide304s && oSession.responseCode == 304) {
- oSession["ui-hide"] = "true";
- }
- if(oSession.url.Contains(".jpg")){
- FiddlerApplication.Log.LogFormat("downloading "+oSession.url + " as " + System.IO.Path.GetFileName(new Uri("http://" + oSession.url).AbsolutePath));
- System.IO.File.WriteAllBytes("C:\\Temp\\" + System.IO.Path.GetFileName(new Uri("http://" + oSession.url).AbsolutePath), oSession.responseBodyBytes);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment