Commit fa2bd816 authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Update tweep.py

parent d4a4538f
...@@ -140,6 +140,11 @@ if __name__ == "__main__": ...@@ -140,6 +140,11 @@ if __name__ == "__main__":
if arg.tweets and arg.users: if arg.tweets and arg.users:
print("[-] Contradicting Args: --users and --tweets cannot be used together.") print("[-] Contradicting Args: --users and --tweets cannot be used together.")
sys.exit(0) sys.exit(0)
if arg.csv and arg.o is None:
print("[-] Error: Please specify an output file (Example: -o file.csv).")
sys.exit(0)
if arg.u is None and arg.s is None:
print("[-] Error: Please specify a user or search.")
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
loop.run_until_complete(main()) loop.run_until_complete(main())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment