Today I tried a code on the cloud for parsing html to structured data:
It works perfectly in the development Notebook environment of the cloud:
But when I tried to deploy it by
(* Out= CloudObject[https://www.wolframcloud.com/objects/753a49c8-9fdc-4dbf-a7c1-359f918d68ef] *)
Visiting the corresponding URL gives
As it can be seen, URLFetch successfully got the HTML source string, which has 77028 characters. But somehow ImportString[URLstr,"Data"] failed.
My questions are:
Did I do something wrong?
I've tested that using string pattern match to extract the information is doable, but is there any work-around more elegant and/or compact?
The same problem goes for the function Import["any url", etc] it will work fine in the Wolfram Desktop but as a Cloud object it fails.
Good to know you are looking into this! I thought at first is was my own programming error.
Is there any indication on when this will be fixed? It is quite an annoying bug.
Silvia, glad to see you trying things out!
What you found here is a problem rather particular to this ImportString (of a URL looking for Data) running in an API. It will work fine in a cloud notebook. We know what the issue is and are working on a fix. Thanks for helping us make the cloud environment better.
Thank you very much for the detailed description. Hope the cloud gets better and better!
(1) No. Thank you for taking the time to post this. Developers are investigating.
I'm very excited to see the cloud being launched, and glad I can help!