Was getting this error message when I ran the API example( I have Python 2.7.6)
from scrapper import search_location
users = search_location("Kharagpur", max_users=10)
Traceback (most recent call last):
File "", line 1, in
File "scrapper.py", line 21, in search_location
return _search_location(soup, max_users, params)
File "scrapper.py", line 32, in _search_location
for i in range(1, number_of_pages):
TypeError: range() integer end argument expected, got float.
I found out that Python ceil() returns float as per the docs.
Please review this PR :)
Was getting this error message when I ran the API example( I have Python 2.7.6)
I found out that Python ceil() returns float as per the docs. Please review this PR :)