Reputation: 1
I have created one plugin and we need current webpage in the form of plain text file so that we can use that text file as an input to the plugin .How do I do it??
Upvotes: 0
Views: 682
Reputation: 11022
import urllib
url = "http://google.com"
text = urllib.open(url)
Upvotes: 1