Hello pro!

There is a list of links of the form http://www.example.com/XXXXX , where XXXXX for each link is different.

When such a link is opened in the browser, the data is loaded by a script with a URL of the form example.com/bbb/ccc / 0-0XXXXX-5-500-YYYYY.dat?_== ZZZZZZZZZZZZZ , where XXXXX, as already mentioned, are different for each links. And also different YYYYY and ZZZZZZZZZZZZZZ (generated by the script)

Is it possible to set up Fiddler in such a way that when you open the link example.com/XXXXX and download data from the URL example.com/bbb/ccc/0-0-XXXXX- 10-500-YYYYY.dat? _ = ZZZZZZZZZZZZZ he automatically sent a request at URL example.com/bbb/ccc/0-0-XXXXX- 20-500-YYYYY.dat? _ = ZZZZZZZZZZZZZZ ?

Those. so that the request URL is replaced by 10-500 by 20-500.

    1 answer 1

    In OnBeforeRequest () you can write a condition like:

    if (oSession.uriContains("XXXXX-10-500")) { oSession.url = oSession.url.ToString().Replace("XXXXX-10-500", "XXXXX-20-500"); }