diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-06-20 21:42:41 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-06-20 21:42:41 (GMT) |
commit | 98402d1c8bff854d16a074c0280f7499e624540f (patch) | |
tree | 61cad8f6e15484b32b37aa4940de1ff89bca10f9 /cupinder.py | |
parent | 13d8fa8f46e644ecc591f09b1a386759fc53d19e (diff) |
Added support for Superlikes.
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) |