Home > Net >  For help, how to crawl the browser in the developer tools XHR in the Network
For help, how to crawl the browser in the developer tools XHR in the Network

Time:04-11


As shown in figure, to trouble you a great god,

CodePudding user response:

You mean the XHR response results?

CodePudding user response:

reference 1st floor yangliu0512 response:
you mean XHR response results?
yes

CodePudding user response:

refer to the second floor qq_37990013 response:
Quote: refer to 1st floor yangliu0512 response:

You mean the XHR response results?
yes

"C # simulation request" absolute search search on the net a handful of questions before don't baidu, pure pick up ready-made,
https://www.cnblogs.com/aaronguo/p/7063790.html
Give you find a, the method is not too much httpwebrequest, httpclient, etc,

CodePudding user response:

 internal String Get (String url) 
{
if (! String. IsNullOrEmpty (Url))
{
WebClient web=new WebClient ();
Byte [] rs=web. DownloadData (url);
Try
{
Return. Encoding UTF8. Get string (UnZip (rs));

} the catch (Exception ex)
{
//throw new Exception (ex. Message);
}
}
String. The Empty;
}
///& lt; Summary>
///
///& lt;/summary>
///& lt; Param name="packageBytes & gt;"
///& lt; Returns>
Internal Byte [] UnZip (Byte [] packageBytes)
{
Try
{
Using (GZipStream gzip=new GZipStream (new MemoryStream (packageBytes), CompressionMode. Decompress))
{
Using (MemoryStream msTemp=new MemoryStream ())
{
int count=0;
Byte [] buffe=new byte [1024].
While ((count=gzip. Read (buffe, 0, buffe. Length)) & gt; 0)
{
MsTemp. Write (buffe, 0, count);
}
Return msTemp. ToArray ();
}
}
} catch
{
Return packageBytes;
}

}

CodePudding user response:

That how to use python for the inside of the network name?? Years,

CodePudding user response:

I met and you the same question, do you how to solve the at that time, can you tell me? Thank you for your

CodePudding user response:

Resources through an ajax request asynchronous access, so get the ajax submit address, send the request to the address returns json data

CodePudding user response:

reference 5 floor garysdevil reply:
how to use the python access to the inside of the network name?? ,

Please have resolved, I today also have a function to do
  •  Tags:  
  • C#
  • Related