creates a word cloud graphic from the text of the webpage at url.
Details and Options
ResourceFunction["WebpageWordCloud"] accepts all the options from the WordCloud function.
Some websites are created programmatically with JavaScript and dynamically build the webpage at the user's browser (at the client side). In this case, this function can take some time waiting for the internet request and browser to render the webpage.
ResourceFunction["WebpageWordCloud"] uses the following procedure, which can be slow depending on network and web conditions: (1) open a browser in the background; (2) send a request to a web server; and (3) render the webpage to get the text information (using JavaScript, API calls, etc…).
ResourceFunction["WebpageWordCloud"] supports the following options:
Firefox or Chrome can be set as the Marionette browser. View the browser used as a Marionette with "SessionVisible" →True and keep the browser opened with "SessionKill" →False:
This function can be slow, as it opens a browser session, requests the URL, renders the page and gets the text back.
To get a webpage programmatically is not trivial: The web sites have security protection about "robots", and there is JavaScript code that is needed to render the page client side.