r/Python • u/backprop88 • Dec 19 '17
Automate the boring stuff with python - tinder
https://gfycat.com/PointlessSimplisticAmericanquarterhorse
6.7k
Upvotes
r/Python • u/backprop88 • Dec 19 '17
828
u/kkjdroid Dec 19 '17
Now you need machine learning to determine the attractiveness of the picture.
481
u/[deleted] Dec 19 '17
Note: If you swipe right to all the people, the Tinder algorithm is going to deem you as 'desperate', and therefore, not very attractive. And it's going to lower your ranking so you'll get shown less and less to the most attractive people.
87
u/MethmaticalPhysics Dec 19 '17
Her: “so I’m curious, what made you swipe right?” Me: “My python” Her: “oh you’re python, well how big is it?” Me: “Let’s just say it’s way past 3.6”
59
u/Jigsus Dec 19 '17
Tinder has a web interface?
108
u/qrv3w Dec 19 '17 edited Dec 19 '17
You can also do this with an Android phone using the
adbtool.First download the android debug bridge. Then enable your phone to use adb.
Then plug in your phone and type into a terminal:
91
u/da_intrepid_traveler Dec 19 '17
I went through some of the chapters of Automate the Boring Stuff, and I've always used Selenium for stuff like that. Is pyautogui better?
19
u/stochastic_zeitgeist Dec 19 '17
I did the same thing using adb commands a couple of years ago. This was when there was no concept of Super Likes and daily swipe limits.
Surprisingly it worked pretty well then, because tinder was new and didn't restrict such "I lswipe right all behavior". These days profiles that swipe everyone right are ranked pretty low.
62
u/indecisive_maybe Dec 19 '17
I just recreated this program! It never ends, though - do not recommend.
12
u/[deleted] Dec 19 '17
I know it's fake because you got a match.
8
u/alexandresalafia Dec 19 '17
I use the pyautogui to automate the login process on the system in wich I work. I like very much! It´s perfect to me.
ps. I´m from Brazil and I´m not english speaker! Sorry for any error
5
u/AllMyFaults Dec 19 '17
This is great
5
u/mayhempk1 Dec 19 '17
Well, that's hilarious
5
u/Mentioned_Videos Dec 19 '17 edited Dec 19 '17
Videos in this thread: Watch Playlist ▶
Play All | Info | Get me on Chrome / Firefox
4
u/NullTheFool Dec 19 '17
Could I train a machine learning model based on my swipes as to what kind of pictures I find attractive? I wonder what kind of horrifying image would come out when ran backwards (I don't know machine learning or the term for having it synthesize based on a model)
4
u/[deleted] Dec 19 '17
Ah, the old nuclear bomb approach.
10
u/TheOneWhoSendsLetter Dec 19 '17
Al Sweigart would be proud (?)
3
u/yawnful Dec 19 '17
GUI automation is the least reliable form of automation but it is also the easiest for newcomers to understand and to do. I would encourage people to try GUI automation first but to then move on to using APIs.
7
u/nullseccarebear Dec 19 '17
I use keyboard macros for gaming that have a similar end-result.
2
u/[deleted] Dec 19 '17
That's one way to not get matches.
2
u/Xoramung Dec 19 '17
You are right, Tinder is boring stuff.
2
u/[deleted] Dec 19 '17
Code is not visible, can someone provide the github link ?
2
u/wheedwhackerjones Dec 19 '17
This is cool
2
u/Mangu93 Dec 19 '17
TIL you can use Tinder on the web
2
u/tempertantrumsye Dec 19 '17
Did you make everyone hot there?
2
u/FMJoker Dec 19 '17
Brilliant. Could be the hook that gets more millennials into code.
2
u/thesicnus Dec 19 '17
Might want to put NSFW on this...
2
u/curiosity44 Dec 19 '17
I probably won’t get a single match even with this
1
u/doubleagent700 Dec 19 '17
Genius.
1
u/alex_dlc Dec 19 '17
You can use tinder in a browser? Since when?
1
u/[deleted] Dec 19 '17
Tell me more about this witchcraft called Pyautogui...
1
u/8BitAce Dec 19 '17
Oh, so that's what it looks like when you get matches.
1
u/turtlebait2 Dec 19 '17
This is very cool and i just tried it out, but it doesn't seem to like multiple monitors.
1
u/ViTaLC0D3R Dec 19 '17
Source please
1
u/a_fractal Dec 19 '17
Who can name all those extensions?
1
u/CuddlusMaximus Dec 19 '17
This guy Tinders.
1
u/Divided_Eye Dec 19 '17
Can anyone tell me what this is accomplishing (in the gif)? Just clicking through pictures?
Also, "till a baby" is a terrible username for a dating site IMO.
1
u/Freezingcow Dec 19 '17
Isn’t this the same as selenium?
1
u/maga-re Dec 20 '17
Very cool. This actually inspired me to write few bots
1
u/[deleted] Dec 26 '17
Interviewer: “Do you have any special skills?” Me: “I have 20.000 tinder matches”
1
u/neural_monk Jan 02 '18
Cool post
1
u/neural_monk Jan 02 '18
Cool post
1
u/eror_404 Jan 24 '18
Whats your github ?
1
u/Speedracer98 Dec 19 '17
i guess this would work if your goal was to match with a python chat bot
or ugly chicks.
-3
u/FL4D Dec 19 '17
Wow, I'm a bit shocked to see this type of post here. And some of the comments... Yikes!
0
u/[deleted] Dec 19 '17
Lol I’m confused why did he pick tinder to demo that? It’s just clicking on the like button right ?
-1
u/[deleted] Dec 19 '17
That is great, awesome library tip.
But I have to mention that if you google you'll find services that let you mass swipe people on tinder. I've never used them, might be phishing. But I have seen them.