I have created one api that calls the function whose task is to extract web content from url that has been shared as a parameter.
I am facing a problem when my api is getting multiple request, the chromium page instance that is getting invoked from drission is only once, and my urls are getting overridden to the same browser.
I also tried auto_port() that is invoking multiple instances but again while fetching the contents, my data is getting messed up.
Like url is from xyz.com and content is from abc.com while url is from abc.com and content is from pqr.com
Is there any way to handle it?
I used multithreading and multiprocessing both, none of them are working for me.
Thanks
I tried multithreading, multiprocessing and asyncio
Irfanali Shaikh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3