mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 21:04: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')
|
print('\nNow trying secondary login with ac2dm token and gsfId saved\n')
|
||||||
server.login(EMAIL, PASSWD, ac2dmToken, gsfId)
|
server.login(EMAIL, PASSWD, ac2dmToken, gsfId)
|
||||||
|
|
||||||
app = server.search('telegram', 1, None).child[0]
|
apps = server.search('telegram', 1, None)
|
||||||
docid = app.docid
|
print('\nFound those apps:\n')
|
||||||
version = app.details.appDetails.versionCode
|
for a in apps:
|
||||||
|
print(a['docId'])
|
||||||
|
docid = apps[0]['docId']
|
||||||
|
version = apps[0]['versionCode']
|
||||||
print('\nTelegram docid is: %s\n' % docid)
|
print('\nTelegram docid is: %s\n' % docid)
|
||||||
print('\nAttempting to download %s\n' % docid)
|
print('\nAttempting to download %s\n' % docid)
|
||||||
fl = server.download(docid, version)
|
fl = server.download(docid, version)
|
||||||
|
Loading…
Reference in New Issue
Block a user