diff options
Diffstat (limited to 'cupinder.py')
-rw-r--r-- | cupinder.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cupinder.py b/cupinder.py index ade4f15..7835ea1 100644 --- a/cupinder.py +++ b/cupinder.py @@ -45,6 +45,7 @@ if __name__=='__main__': parser.add_argument('-p', '--process', help='Process stored Tinder profiles', action='store_true') parser.add_argument('--dump-new', help='Extract newly stored Tinder profiles', action='store_true') parser.add_argument('--dump-all', help='Extract all stored Tinder profiles', action='store_true') + parser.add_argument('-s', '--superlike', help='Superlike a given Tinder profile using its ID', type=str) args = parser.parse_args() @@ -164,3 +165,24 @@ if __name__=='__main__': p.output() db.mark_profile_as_extracted(p) + + + elif args.superlike: + + tinder = connect() + + uid = args.superlike + + profile = db.load_profile(uid) + + tinder.superlike(uid) + + if profile: + + db.mark_profile_as_superliked(profile) + + print('[*] %s: ' % profile._name + config.COLOR_LIKE + 'superlike!' + config.COLOR_RESET) + + else: + + print('[*] ' + config.COLOR_LIKE + 'Superliked' + config.COLOR_RESET + ' ' + uid) |