NoMore201 / googleplay-api

Google Play Unofficial Python API
Other
409 stars 208 forks source link

Block #135

Open DerVadim opened 3 years ago

DerVadim commented 3 years ago

I have two servers on the same external ip. On one server this code work well

from requests.exceptions import SSLError BASE = "https://android.clients.google.com/" FDFE = BASE + "fdfe/" CHECKIN_URL = BASE + "checkin" AUTH_URL = BASE + "auth"

params ={'Email': 'whyareyoublockme1@gmail.com', 'EncryptedPasswd': 'my password', 'add_account': '1', 'accountType': 'HOSTED_OR_GOOGLE', 'google_play_services_version': '11951438', 'has_permission': '1', 'source': 'android', 'device_country': 'en', 'lang': 'en_US', 'client_sig': '38918a453d07199354f8b19af05ec6562ced5788', 'callerSig': '38918a453d07199354f8b19af05ec6562ced5788', 'service': 'ac2dm', 'callerPkg': 'com.google.android.gms'}

for var in range(0, 5): try: response = requests.post(AUTH_URL,params) print(response.status_code) print(response.content) except SSLError: print(var)

,but on another server , this code return 403 error BadAuthentication. How google can block my server without ip-blocking?