简体   繁体   中英

How to use wget in java

I have tried two methods to load this html page: http://www.compare-cellphones.org/Apple-iPhone-5-vs-Apple-iPhone-4S

1.Using openStream() 2.Using Connection.get()

Both methods are working for getting HTML pages of other sites but not the above site. I am trying to use wget also..

ANY help for getting this HTML page downloaded using java required. A working code would be much appreciated.

You can look at my Curl example here to get ideas:

how to connect to couchdb database using couchdb4j api with username and password?

The question is about CouchDB but the answer isn't really.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM