From 74aa4c6b47bdab82135bd0e8f860e517bc6e7723 Mon Sep 17 00:00:00 2001 From: rpotter12 Date: Tue, 13 Aug 2019 01:49:42 +0530 Subject: [PATCH 1/3] warning in savechat file --- wplay/savechat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wplay/savechat.py b/wplay/savechat.py index 88314278..02cfb4af 100644 --- a/wplay/savechat.py +++ b/wplay/savechat.py @@ -8,7 +8,7 @@ import requests def save(name): - + print("It is for testing purpose only. It is not tested yet. Report a bug if you found any error.") # enter the name of the person by the user target = str(name) #str(input("Enter the name of target: ")) #target_email = str(input("Enter the email of the target: ")) From 38583dc7cadb5cbdc0a0b9294e1ed3933fa61d1f Mon Sep 17 00:00:00 2001 From: rpotter12 Date: Tue, 13 Aug 2019 01:50:52 +0530 Subject: [PATCH 2/3] adding savechat argument --- wplay/wplay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wplay/wplay.py b/wplay/wplay.py index d45bef66..50e3ce2b 100644 --- a/wplay/wplay.py +++ b/wplay/wplay.py @@ -14,7 +14,7 @@ def get_arguments(): group.add_argument("-wc", "--wchat", action="store_true", help="chatting from command line") group.add_argument("-wb", "--wblast", action="store_true", help="message blast to a person") group.add_argument("-wt", "--wtrack", action="store_true", help="track online status of person") - # group.add_argument("-ws", "--wsave", action="store_true", help="save the whole chat of a person") + group.add_argument("-ws", "--wsave", action="store_true", help="save the whole chat of a person") # group.add_argument("-wl", "--wlocation", action="store_true", help="finds the location of the person") args = parser.parse_args() @@ -30,8 +30,8 @@ def match_args(args): elif args.wblast: messageblast.blast(args.name) - # elif args.wsave: - # savechat.save(args.name) + elif args.wsave: + savechat.save(args.name) # elif args.wlocation: # loactionfinder.finder(args.name) From c9c7d32d3c07c9960e626d771eb18bddc076ad23 Mon Sep 17 00:00:00 2001 From: rpotter12 Date: Tue, 13 Aug 2019 01:53:48 +0530 Subject: [PATCH 3/3] updates readme for savechat argument --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34387b84..f2d0ef80 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ It is command line software through which you can play with your WhatsApp. It is ***messageblast*** is a message bomb script. It sends messages to your WhatsApp contact continously. The number of messages is decided by you. You can blast infinite number of messages to your WhatsApp contact. -***savechat*** is a script to save the chat of the person. It saves all the messages with that person in message.txt file. (script is in progress) +***savechat*** is a script to save the chat of the person. It saves all the messages with that person in message.txt file. --- @@ -24,7 +24,7 @@ It is command line software through which you can play with your WhatsApp. It is ## Usage ``` -usage: wplay [-h] (-wc | -wb | -wt| -wsc) NAME +usage: wplay [-h] (-wc | -wb | -wt| -ws) NAME WhatApp-play @@ -36,6 +36,7 @@ optional arguments: -wc, --wchat chatting from command line -wb, --wblast message blast to a person -wt, --wtrack track online status of person + -ws, --wsave save the whole chat of a person ``` Example - `wplay -wt "target_name_of_your_whatsapp_contact"`