diff --git a/twscrape/cli.py b/twscrape/cli.py index c0a7dce..ce6ab9b 100644 --- a/twscrape/cli.py +++ b/twscrape/cli.py @@ -193,4 +193,7 @@ def run(): if args.command is None: return custom_help(p) - asyncio.run(main(args)) + try: + asyncio.run(main(args)) + except KeyboardInterrupt: + pass