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 c_lim(name: str, msg: str, a_name: str, a_msg: str, a_type: type = str): if args.command is None: return custom_help(p) - asyncio.run(main(args)) + try: + asyncio.run(main(args)) + except KeyboardInterrupt: + pass