Update run.py to use the newer version of the get_users function

This commit is contained in:
Sven Slootweg 2012-10-04 20:06:53 +02:00
parent db38973a69
commit 9816272d6e

3
run.py
View file

@ -24,7 +24,8 @@ for category in webshotslib.get_category_listings("http://community.webshots.com
print ""
for listing_page in to_parse:
for user in webshotslib.get_users(listing_page):
results, count = webshotslib.get_users(listing_page, False)
for user in results:
if user not in users:
users.append(user)
users_count += 1