Al crear un hilo secundario en el matraz y llamar al programa pyppeteer, se informa un error ValueError: la señal solo funciona en el hilo principal
Traducido literalmente
Solución
Agregue tres campos al crear el objeto del navegador
'handleSIGINT':False,
'handleSIGTERM': False,
'handleSIGHUP': False,
Aquí están las respuestas de otros https://stackoverflow.com/questions/53679905/running-pypupeteer-in-flask-gives-valueerror-signal-only-works-in-main-thread?r=SearchResults