Skip to content

Commit

Permalink
Added proxy config to userProfile request
Browse files Browse the repository at this point in the history
  • Loading branch information
Domenico Iezzi committed Dec 9, 2017
1 parent df4300c commit f7d2077
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gpapi/googleplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ def userProfile(self):
url = self.FDFE + path
response = requests.get(url, headers=headers,
verify=ssl_verify,
timeout=60)
timeout=60,
proxies=self.proxies_config)

message = googleplay_pb2.UserProfileResponseWrapper.FromString(response.content)
if message.commands.displayErrorMessage != "":
Expand Down

1 comment on commit f7d2077

@matlink
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you push this gpapi version to pypi?

Please sign in to comment.