Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nearby_users() hangs #203

Open
MMcintire96 opened this issue Feb 19, 2019 · 4 comments
Open

nearby_users() hangs #203

MMcintire96 opened this issue Feb 19, 2019 · 4 comments

Comments

@MMcintire96
Copy link

MMcintire96 commented Feb 19, 2019

Upgraded from pynder on pypi to a clone/installed version of this repo and now nearby_users() produces a generator object, but iterating through it causes it to hang.

<generator object Session.nearby_users at 0x10dc14888>
^CTraceback (most recent call last):
  File "/Users/Michael/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 377, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred.

Everything else works fine, can iterate through matches() and connection to api is working.

@chickenfresh
Copy link

Does authentication work for you? For me it throws "error": "minimum client version enforced#MINIMUM_VERSION_REQUIRED",

@cjekel
Copy link

cjekel commented Mar 5, 2019

Upgraded from pynder on pypi to a clone/installed version of this repo and now nearby_users() produces a generator object, but iterating through it causes it to hang.

Perhaps you are iterating to fast? try using something like time.sleep(5) on each user in nearby_users(). I'm not having issues with nearby_users right now.

*Edit 3/5/2019
What are you doing on each user? Are you running user.like() or user.dislike()?

Does authentication work for you? For me it throws "error": "minimum client version enforced#MINIMUM_VERSION_REQUIRED",

Authentication works for me. I'm using the same user agent in this repo. You can check your user agent with

import pynder
print(pynder.constants.USER_AGENT)

@MMcintire96
Copy link
Author

I think the issue was that there were no nearby users on tinder. Tinder app stuck on the 'looking for users' page. Why would the generator not throw a StopIteration error when it cant find any nearby users?

Authentication works for me.

@fjleon1980
Copy link

i may be going too fast because after a few seconds of looping through the nearby users i get banned (real client says check back later for new people)

another issue i have found is that nearby_users() seems to return always the same set of users, i wonder how i can get different users each time i run it or let it run indefinitely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants