To provide an idea, first use httpClient or URLConnection to obtain web page data, then use htmlPasser to parse the data, and obtain it when encountering an iframe tag.
The analysis is a little rougher. You can directly use the String function indexOf(String) to get the string between ""... (of course there will be multiple iframes)
First get a web page, then get the src addresses of all iframes in the web page, and then get the web content of these addresses. The way to obtain it is to simply send a request using httpclient. In fact, an iframe is also a web page, no different from an ordinary web page
Actually.
This is what the interface is
http://www.chinamoney.com.cn/fe-c/historyParity.do
To provide an idea, first use httpClient or URLConnection to obtain web page data, then use htmlPasser to parse the data, and obtain it when encountering an iframe tag.
The analysis is a little rougher. You can directly use the String function indexOf(String) to get the string between ""... (of course there will be multiple iframes)
To get the src information of the iframe, just request it directly with httpclient~
First get a web page, then get the src addresses of all iframes in the web page, and then get the web content of these addresses. The way to obtain it is to simply send a request using httpclient. In fact, an iframe is also a web page, no different from an ordinary web page