mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 04:44:59 +00:00
Updated test script
Signed-off-by: Domenico Iezzi <domenico.iezzi.201@gmail.com>
This commit is contained in:
parent
8d3b1ea458
commit
171faefc60
9
test.py
9
test.py
@ -14,9 +14,12 @@ gsfId = server.gsfId
|
||||
print('\nNow trying secondary login with ac2dm token and gsfId saved\n')
|
||||
server.login(EMAIL, PASSWD, ac2dmToken, gsfId)
|
||||
|
||||
app = server.search('telegram', 1, None).child[0]
|
||||
docid = app.docid
|
||||
version = app.details.appDetails.versionCode
|
||||
apps = server.search('telegram', 1, None)
|
||||
print('\nFound those apps:\n')
|
||||
for a in apps:
|
||||
print(a['docId'])
|
||||
docid = apps[0]['docId']
|
||||
version = apps[0]['versionCode']
|
||||
print('\nTelegram docid is: %s\n' % docid)
|
||||
print('\nAttempting to download %s\n' % docid)
|
||||
fl = server.download(docid, version)
|
||||
|
Loading…
Reference in New Issue
Block a user