summaryrefslogtreecommitdiff
path: root/tinder_bio.py
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-16 23:05:53 -0700
committerFuwn <[email protected]>2022-07-16 23:05:53 -0700
commit2f98a09570351a0e95319a6fdf2a0abb5b536d63 (patch)
tree16b2183cac06c62c85692da4b33bd577f655baf8 /tinder_bio.py
downloadtinder-bio-2f98a09570351a0e95319a6fdf2a0abb5b536d63.tar.xz
tinder-bio-2f98a09570351a0e95319a6fdf2a0abb5b536d63.zip
feat: initial release
Diffstat (limited to 'tinder_bio.py')
-rw-r--r--tinder_bio.py36
1 files changed, 36 insertions, 0 deletions
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)