开发者

In Android, how do I download the HTML of a webpage?

In Python, I use a class called "urllib".

I'd just like a simple function where I can downl开发者_运维百科oad the HTML of a webpage.


You can use java.net.URL

InputStream is = new URL(url).openStream();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜