Skip to content

Commit e638961

Browse files
author
Simion Putina
committed
clean up git
1 parent 12e1257 commit e638961

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ ladiesAI/
88
CONFIG.cfg
99
.vscode/
1010
fbUsers/
11+
liked-backup
12+
liked-backup2
13+
instagramsbackup
14+
like
15+
.idea/
16+
__pycache__

identifier.txt

-1
This file was deleted.

instamatch.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ def changeLoc():
8484
'X-Auth-Token': tinder_token,
8585
'Authorization': 'Token token="{0}"'.format(tinder_token).encode('ascii', 'ignore')
8686
}
87-
jsonLoc = {'lat': '51.066209', 'lng': '-0.334493'}
88-
r = requests.post(base_url+loc_endpoint, headers = headers, json={"lon": tmplng, "lat":tmplat})
87+
jsonLoc = {'lat': '51.112683', 'lng': '-0.188290'}
88+
r = requests.post(base_url+loc_endpoint, headers = headers, json={"lat": tmplng, "lon":tmplat})
8989
print "url is {}, status code is {}, text is {}".format(r.url, r.status_code, r.text)
9090
print "changed to {} {}".format(lng, lat)
9191

@@ -159,6 +159,6 @@ def test():
159159
}
160160
r = requests.get(base_url+friends_endpoint, headers = headers)
161161
print r.text
162-
test()
162+
changeLoc()
163163
#curLocDec = float(currentLoc[0])
164164
#print(str(curLocDec[0]))

0 commit comments

Comments
 (0)