开发者

How to convert current webpage to a text file?

I have created one plugin and we need current webpage in t开发者_JAVA百科he form of plain text file so that we can use that text file as an input to the plugin .How do I do it??


import urllib
url = "http://google.com"
text = urllib.open(url)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜