-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setting proxy authorization with username/passwd in ubuntu-server 18.04 env #132
Comments
Looks like there is something missing ;-) will have a deeper look |
As a workaround can you please try something like
|
Here is the detail infos: source code like below:
public static String getPageOnDynamicWeb(String url) { public static void main(String[] args) throws Exception { Run before code will take exception like below: |
Environment: |
Please try target url :https://developer.apple.com/documentation/accelerate/bnns/shape/3656199-init to test the correct approach . |
I need to point out :(https://developer.apple.com/documentation/accelerate/bnns/shape/3656199-init) is dynamic web content, need excute javascript file on scrape process. I can get the static web content but can't catch the dynamic parts. |
Had a deeper look and there are several problems with this page. Long story short - HtmlUnit does not support the whole modern javascript syntay (because it is based on Rhino). We are working on improving this but i fear there is no real progress until the end of this year. Two options: help us to improve Rhino or use selenium with real browsers |
Got it! I also check if i can make contribution on HtmlUitl to improve this issue. |
How to setting proxy authorization with username/passwd in ubuntu-server 18.04 env?
I found lots of example but dont reslove my requirement to scrape the web like : (https://developer.apple.com/documentation/accelerate/bnns/shape/3656199-init)
thanks!
The text was updated successfully, but these errors were encountered: