milenstack / open-webkit-sharp

Clone open-webkit-sharp
http://webkitsharp.milenstack.com
MIT License
1 stars 0 forks source link

How to connect to a password agent server #164

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

First of all thank you very much for the author to provide such a good library.

I need application scenarios as follows:

I want to be with openwebkit as web crawler, crawlering web page.

I use the.net webbrowser realize the function, the use of the IWebProxy objects 
and NetworkCredential object to achieve.

But I don't know, in the open-webkit-sharp need how to apply to the user name 
password proxy server.

Please check the attachment, is a screenshot.

Thank you very much.

Original issue reported on code.google.com by sir.doub...@gmail.com on 23 Jan 2013 at 7:12

Attachments:

GoogleCodeExporter commented 8 years ago
In chrome on the screen

Original comment by sir.doub...@gmail.com on 23 Jan 2013 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
In chrome on the screen

Original comment by sir.doub...@gmail.com on 23 Jan 2013 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
This seems to be an authentication dialog. You must pass the username and 
passward as headers to the request that is sent to the server within 
OpenWebKitSharp's source. Check in frameLoadDelegate events in WebKitBrowser.cs 
and modify the request accordingly before sending it. Or you can use directly 
the Navigate method with the overload with Headers.

Original comment by tsumalis96@gmail.com on 23 Jan 2013 at 8:02