Created
October 5, 2019 09:11
-
-
Save joelbarmettlerUZH/8415269c77927301c740aab2a0bb8aa6 to your computer and use it in GitHub Desktop.
Loop over nearby profiles and download all images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == "__main__": | |
token = "YOUR-API-TOKEN" | |
api = tinderAPI(token) | |
while True: | |
persons = api.nearby_persons() | |
for person in persons: | |
person.download_images(folder="./images/unclassified", sleep_max_for=random()*3) | |
sleep(random()*10) | |
sleep(random()*10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment