Could you share a clone of the app that uses this code and describe in more detail what you are building? That might allow others to help you more easily.
You can clone an app by following these instructions:
As the image shown, it supposed to print out (u), (âoooooâ, urlcontent), and âdone!â, now, u is here, âoooooâ is here, urlcontent is missing, and âdone!â is here. why was that?
I execute the same code in other python platform, like Spider, Jupyter Notebook, both of them are able to print out urlcontent.
Printing the out is not my goal, my goal is extracting those data needed ,then display them into another form. If any tutorial about this, please let me know.
Could you try moving the urllib calls to a server function? Here is an example of an app that prints the contents from a URL using the python3 runtime: