pynder icon indicating copy to clipboard operation
pynder copied to clipboard

nearby_users() hangs

Open MMcintire96 opened this issue 6 years ago • 4 comments
trafficstars

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.

MMcintire96 avatar Feb 19 '19 22:02 MMcintire96

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

chickenfresh avatar Mar 05 '19 22:03 chickenfresh

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)

cjekel avatar Mar 05 '19 23:03 cjekel

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.

MMcintire96 avatar Mar 06 '19 00:03 MMcintire96

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

fjleon1980 avatar Aug 17 '19 22:08 fjleon1980