How to read all text and images from a html page for example
http://wireless.ign.com/articles/118/1186400p1.html
Lets say i 开发者_Go百科would like to get the text on the page, and the Latest images?
How would i go about doing this?
via HTTPGET Request? If so how?
How can i get this text and then do something with it and the images, like set it to a text view, and set the images to ImageView.
use below code in unix/linux wget http://wireless.ign.com/articles/118/1186400p1.html -O test.html
Use HttpURLConnection to get the html, and then use Regex or something like JSoup or similar to parse the Html.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论