Added proxy config to userProfile request

This commit is contained in:
Domenico Iezzi 2017-12-09 11:50:20 +01:00
parent df4300c7df
commit f7d2077d78
No known key found for this signature in database
GPG Key ID: 7AC94D5DDA2FB7EE

View File

@ -335,7 +335,8 @@ class GooglePlayAPI(object):
url = self.FDFE + path url = self.FDFE + path
response = requests.get(url, headers=headers, response = requests.get(url, headers=headers,
verify=ssl_verify, verify=ssl_verify,
timeout=60) timeout=60,
proxies=self.proxies_config)
message = googleplay_pb2.UserProfileResponseWrapper.FromString(response.content) message = googleplay_pb2.UserProfileResponseWrapper.FromString(response.content)
if message.commands.displayErrorMessage != "": if message.commands.displayErrorMessage != "":