From 2f98a09570351a0e95319a6fdf2a0abb5b536d63 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 16 Jul 2022 23:05:53 -0700 Subject: feat: initial release --- tinder_bio.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tinder_bio.py (limited to 'tinder_bio.py') diff --git a/tinder_bio.py b/tinder_bio.py new file mode 100644 index 0000000..6d16541 --- /dev/null +++ b/tinder_bio.py @@ -0,0 +1,36 @@ +import json +import datetime +import time +import requests +import os + +headers = { + "app_version": "6.9.4", + "platform": "ios", + "content-type": "application/json", + "User-agent": "Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)", + "X-Auth-Token": os.environ["TINDER_TOKEN"], +} + + +if __name__ == "__main__": + host = "https://api.gotinder.com" + tinder_token = os.environ["TINDER_TOKEN"] + + while True: + try: + print( + requests.post( + host + "/profile", + headers=headers, + data=json.dumps( + { + "bio": f"It's {datetime.datetime.now().strftime('%I:%M')} and you're on Tinder instead of watching Neon Genesis Evangelion with me." + } + ), + ).json() + ) + except requests.exceptions.RequestException as e: + print(e) + + time.sleep(60) -- cgit v1.2.3