diff --git a/Scraper.py b/Scraper.py index fe3ab9b..c6c7c6d 100644 --- a/Scraper.py +++ b/Scraper.py @@ -10,6 +10,7 @@ import json PlayFab.GetEntityToken(PlayFab.LoginWithCustomId()['PlayFabId'], 'master_player_account') MAX_SEARCH = 300 +MAX_SKIP = 10000 # Get total number of items in marketplace totalItems = PlayFab.Search("", "", "creationDate ASC", None, 1, 0)["Count"] @@ -33,7 +34,7 @@ while len(resultsDict) < totalItems: skip += MAX_SEARCH - if skip > 10000: + if skip > MAX_SKIP: searchFilter = "(CreationDate ge " + searchResults["Items"][-1]["CreationDate"] +")"; skip = 0