bocchilorenzo / ntscraper

Scrape from Twitter using Nitter instances
MIT License
180 stars 29 forks source link

Unable to stop code using Ctrl C #48

Closed sujayrittikar closed 11 months ago

sujayrittikar commented 11 months ago

My code often just gets stuck and doesn't gracefully exit if I press a Ctrl C to stop it. Ofcourse Ctrl Z works for it to exit, but it's bad since it kinda just suspends the process instead of killing it.

It might be because of Pool, but could you maybe add a Keyboard Interrupt? That'll ensure a safer exit.