Merge pull request #57 from kallix/FIX-api.search

FIX broken URL in api.search() that raises an exception when nb_result >20
This commit is contained in:
Domenico Iezzi 2018-06-25 14:33:14 +02:00 committed by GitHub
commit 118b539cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ class GooglePlayAPI(object):
if len(cluster.doc) == 0: if len(cluster.doc) == 0:
break break
if cluster.doc[0].containerMetadata.nextPageUrl != "": if cluster.doc[0].containerMetadata.nextPageUrl != "":
nextPath = cluster.doc[0].containerMetadata.nextPageUrl nextPath = FDFE + cluster.doc[0].containerMetadata.nextPageUrl
else: else:
nextPath = None nextPath = None
apps = [] apps = []