+ 3
Loading the HTML while still working in Django (probably through asynchronous functions)
I have this project that Iâve been working on for a while https://github.com/Grumpy-Kat/WebScraping In the views.py, I scrape a lot of information from IMDB, with each call taking around 0.3 of a second. Meanwhile my page will stand idle. I want to have it load the page and then finish up the call. For instance, I want it to load the recommended after already showing the actors and actresses that played in both. Or in index, I want to allow the user to type and then show the options to click on. How? Thanks
1 Answer
+ 1
I'm in a rush, so couldn't check this in detail:
https://www.shanelynn.ie/asynchronous-updates-to-a-webpage-with-flask-and-socket-io/