From b6e3474a7958bb63bf915ca8d0237031f30b82bc Mon Sep 17 00:00:00 2001 From: Domenico Iezzi Date: Fri, 13 Oct 2017 18:18:22 +0200 Subject: [PATCH] test.py: download telegram rather than termux since telegram is supported by far more devices than termux Signed-off-by: Domenico Iezzi --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index e3cc657..03fac5d 100644 --- a/test.py +++ b/test.py @@ -21,7 +21,7 @@ # 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 @@ # 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: