summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-06-23 09:48:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-06-23 09:48:25 (GMT)
commitefb30aff3ec300d5e5947de9a51c3587f8e2a986 (patch)
tree8ca23323a02f6ae372157de2d3349676970acbac
parentd044176c5369ed1d057e9b9ab5d0c59ed2c0f914 (diff)
Updated output while processing profiles.
-rw-r--r--cupinder.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/cupinder.py b/cupinder.py
index cb3b28c..e91fc21 100644
--- a/cupinder.py
+++ b/cupinder.py
@@ -135,20 +135,20 @@ if __name__=='__main__':
if like:
- if remaining == 0:
- print('[!] No more likes available. Exiting...')
- break
-
remaining -= 1
- print('[*] %s: ' % p._name + config.COLOR_LIKE + 'like!' + config.COLOR_RESET)
-
tinder.like(p._id)
db.mark_profile_as_liked(p)
+ print('[%02d] %s: ' % (remaining, p._name) + config.COLOR_LIKE + 'like!' + config.COLOR_RESET)
+
+ if remaining == 0:
+ print('[!] No more likes available. Exiting...')
+ break
+
else:
- print('[*] %s: ' % p._name + config.COLOR_PASS + 'pass' + config.COLOR_RESET)
+ print('[**] %s: ' % p._name + config.COLOR_PASS + 'pass' + config.COLOR_RESET)
tinder.dislike(p._id)
db.mark_profile_as_passed(p)