mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 12:54:58 +00:00
test.py: download telegram rather than termux
since telegram is supported by far more devices than termux Signed-off-by: Domenico Iezzi <domenico.iezzi.201@gmail.com>
This commit is contained in:
parent
ed2d658f61
commit
b6e3474a79
4
test.py
4
test.py
@ -21,7 +21,7 @@ server.login(None, None, gsfId, authSubToken)
|
||||
|
||||
# SEARCH
|
||||
|
||||
apps = server.search('termux', 34, None)
|
||||
apps = server.search('telegram', 34, None)
|
||||
|
||||
print('nb_result: 34')
|
||||
print('number of results: %d' % len(apps))
|
||||
@ -33,7 +33,7 @@ for a in apps:
|
||||
# DOWNLOAD
|
||||
docid = apps[0]['docId']
|
||||
version = apps[0]['versionCode']
|
||||
print('\nTermux docid is: %s\n' % docid)
|
||||
print('\nTelegram docid is: %s\n' % docid)
|
||||
print('\nAttempting to download %s\n' % docid)
|
||||
fl = server.download(docid, version, progress_bar=True)
|
||||
with open(docid + '.apk', 'wb') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user