matlink / gplaycli Goto Github PK
View Code? Open in Web Editor NEWGoogle Play Downloader via Command line
License: Other
Google Play Downloader via Command line
License: Other
Providing default credentials result in some issues:
Current solutions we could take are:
We are open for propositions, if anyone has knowledge on such issues ...
I was just wondering what the reason was for not including it with the latest release.
Hello, thx for library. gplaycli very helpful.
Where in code i can change device architecture for download arm or x86 apk?
Thank you
$ gplaycli --verbose -d com.sncf.fusion -f ~/Documents/projects/playstore/
1/1 com.sncf.fusion
Error while downloading com.sncf.fusion : 'WrappedSocket' object has no attribute 'close'
It exists in the play store at https://play.google.com/store/apps/details?id=com.tomtom.speedcams.android.map but I can't download it.
gplaycli -d com.tomtom.speedcams.android.map
Error while downloading com.tomtom.speedcams.android.map : this package does not exist, try to search it via --search before
Maybe it's similar to #26. I'm using the official credentials.conf, other packages are fine.
$ gplaycli --config credentials.conf --folder ~/Documents/projects/playstore --search "capitaine train"
Title Creator Size Downloads Last Update AppID Version Rating
Captain Train: train tickets Capitaine Train SAS 5.9MB 100,000+ Oct 12, 2015 com.capitainetrain.android 1704 4.47
OUIGO SNCF 1.1MB 100,000+ Mar 24, 2015 com.sncf.ouigo 6 3.38
Voyages-SNCF Voyages-sncf.com 11.9MB 1,000,000+ Oct 20, 2015 com.vsct.vsc.mobile.horaireetresa.android 2508 4.17
SNCF Transilien SNCF 6.4MB 1,000,000+ Apr 13, 2015 com.ocito.sncf 30 3.71
SNCF SNCF 7.0MB 500,000+ Oct 22, 2015 com.sncf.fusion 77 3.29
Melbourne Metro Train Status lahsrah apps 334.4KB 10,000+ Aug 27, 2014 com.lahsrah.metroStatus 6 3.64
Tatto Camera Prank Tomara Penchuk 4.7MB 1,000+ Oct 24, 2015 com.shigetsogrartoapro.tattocameraprank 1 3.93
Tattoo Camera Prank Sofia Pikova 4.6MB 1,000+ Oct 24, 2015 com.xisaboakrevishyfehdevelopers.tattoocameraprank 2 3.11
Electric Screen Prank Maksimka 1.8MB 1,000+ Oct 24, 2015 com.prodavirdodru.electricscreenprank 1 3.00
Tattoo Camera Joke Snegana Yrkevich 4.3MB 500+ Oct 23, 2015 com.developersepsooreerev.tattoocamerajoke 1 4.33
$ gplaycli --config credentials.conf --folder ~/Documents/projects/playstore --download com.sncf.fusion --progress
Error while downloading com.sncf.fusion : this package does not exist, try to search it via --search before
$ gplaycli --config credentials.conf --folder ~/Documents/projects/playstore --download com.capitainetrain.android --progress
Error while downloading com.capitainetrain.android : this package does not exist, try to search it via --search before
In order to install the cryptography package, OpenSSL headers are required (libssl-dev packages)
Failed building wheel for cryptography
Running setup.py clean for cryptography
Failed to build cryptography
Installing collected packages: args, clint, cryptography, PyOpenSSL, ndg-httpsclient, gplaycli
Running setup.py install for cryptography ... error
Complete output from command /home/raphael/.virtualenvs/gplaycli/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-j5878qi6/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-f9x8y5a0-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/raphael/.virtualenvs/gplaycli/include/site/python3.4/cryptography:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.4/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.4/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.4/cryptography
copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.4/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.4/cryptography
creating build/lib.linux-x86_64-3.4/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat
creating build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.4/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.4/cryptography/x509
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/commoncrypto
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/backends/openssl
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/kdf
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/interfaces
copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/primitives/interfaces
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/commoncrypto
copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/commoncrypto
copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/commoncrypto
creating build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/openssl
running egg_info
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing entry points to src/cryptography.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.4/_padding.c'
creating build/temp.linux-x86_64-3.4
generating cffi module 'build/temp.linux-x86_64-3.4/_constant_time.c'
generating cffi module 'build/temp.linux-x86_64-3.4/_openssl.c'
building '_openssl' extension
creating build/temp.linux-x86_64-3.4/build
creating build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -I/home/raphael/.virtualenvs/gplaycli/include/python3.4m -c build/temp.linux-x86_64-3.4/_openssl.c -o build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_openssl.o
build/temp.linux-x86_64-3.4/_openssl.c:423:27: fatal error: openssl/e_os2.h: Aucun fichier ou dossier de ce type
#include <openssl/e_os2.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I have 2 phones.
If I use Droid X(MB811) with CM11 Android 4.4.4's device id and account,I can get App's detail,but can not download.
(I found docV2->details->appDetails->file doesn't exists)
If I use CoolPad 5891 with Android 4.1.2's device id and account, I can not get any app details(use print),and downloading cannot be started, with no error information at all.
But it works without any problem at all with your.
Why?(´・_・`)
Does it can be use to download game data file (.obb)?
obb file usually located at /sdcard/Android/obb/
Some games have 2 file : docV2->details->appDetails->file
Just like: https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftA8HM
index 0:app's apk file(.apk)
index 1:game's data file(.obb)
I read the code and use Fiddler4 to find the API to download the data file,I try to change some code to try downloading data file but it failed.
Whether i search for an app or try to download one, i get this error
$ gplaycli -s protonmail
Traceback (most recent call last):
File "/usr/bin/gplaycli", line 366, in <module>
main()
File "/usr/bin/gplaycli", line 340, in main
success, error = cli.connect_to_googleplay_api()
File "/usr/bin/gplaycli", line 53, in connect_to_googleplay_api
api.login(self.config["gmail_address"], self.config["gmail_password"], None)
File "/usr/lib/python2.7/site-packages/ext_libs/googleplay_api/googleplay.py", line 126, in login
response = requests.post(self.URL_LOGIN, data=params, headers=headers, verify=ssl_verify)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 110, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 325, in _raise_timeout
if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6
TypeError: __str__ returned non-string (type Error)
setenforce 0 doesn't help, and firewalld is also disabled.
I am using the standard credentials.conf.
Could you please release a new version of your project? The changes you made after 0.1.1 help packaging.
"Works on GNU/Linux or Windows with pip and Python 2.9+"
The python source code is not pep8 compliant (indentation mix tabs and space, missing whitespaces,...).
If you agree I can submit a PR with a fully pep8 compliant code.
Title says it all. I've tried Raccoon as well and have been unable to search for or download with the id. I have also tried generating new Android Ids and using the default credentials. The id is com.starbucks.mobilecard. Thanks for any help you can provide!
I created a new email id and fetched android-id from a phone.
I used these credentials to download an app. Then I logged using the credentials through web to playstore
I saw that it was not showing that app as installed on PlayStore.
There should be a way to register an email / android id and simulate real download through gplaycli such that even when I log into website using credentials, I can see the app downloaded there and the account shows device attached to that account, instead of showing "No Device Attached"
Hi, I'm trying to update my package repo. I'm using the most current packaged release (0.2.3-1)
fdroid@packages:~/gplaycli$ gplaycli -u /var/www/fdroid/gplaycli/repo
Everything is up to date !
However:
fdroid@packages:~/gplaycli$ gplaycli -u /var/www/fdroid/gplaycli/repo -v
Retrieving token ...
Token: Auth error
Using token to connect to API
Checking apks ...
Everything is up to date !
Also, none of the package were actually updated.
hi , can't download free app !! like boombeach it's free
gplaycli -d com.supercell.boombeach
Error while downloading com.supercell.boombeach : this package does not exist
Hi
I want run this code:
<?php
chdir('/home/user/gplay/');
$result = shell_exec('gplaycli -c credentials1.conf -f dl/ -pvd com.packagename 2>&1');
print_r($result);
but this error shows:
Traceback (most recent call last):
File "/usr/bin/gplaycli", line 24, in <module>
from ext_libs.googleplay_api.googleplay import GooglePlayAPI # GooglePlayAPI
File "/usr/lib/python2.7/dist-packages/ext_libs/googleplay_api/googleplay.py", line 9, in <module>
from google.protobuf import descriptor
File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 46, in <module>
from google.protobuf.pyext import _message
ImportError: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/python2.7/dist-packages/google/protobuf/pyext/_message.x86_64-linux-gnu.so)
I can run gplaycli with terminal, but with php NO.
Please help.
Just tried to update, and got "authentication failed" with the default credentials.
Switched to one of my own Google accounts, and used a real Android device ID associated with that account and which updates just fine over Google play, and always get this error:
"Cannot login to GooglePlay ( server says: NeedsBrowser )"
When installing in a virtualenv, credentials are installed in this virtualenv, in a quite weird location (lib/python2.7/home/matlink/.config/gplaycli/credentials.conf)
I'm trying to use this project, I've configured the credentials.conf with my google acc, but i'm getting the following error...
Cannot login to GooglePlay ( server says: BadAuthentication )
I'm doing something wrong or google has changed anything?
Thanks!
Hi, I will be very helpful if there is a logging option
save logs that contains the list of package names for the cases beow
Hello,
It would be nice if gplaycli (or gplayweb) had an auto-update feature, in form of a daily cron job which checks the repo folder for updates and automatically download them.
Hi, I'm using gmail credentials in the credentials conf file and it shows download complete but apk didn't download. Please help.
App does not work anymore
Error - Cannot login to GooglePlay ( server says: BadAuthentication )
Fix please
$ aapt dump xmltree com.facebook.katana.apk AndroidManifest.xml | grep versionName
A: android:versionName(0x0101021c)="120.0.0.0.31" (Raw: "120.0.0.0.31")
$ gplaycli -v -y -u .
Using credentials to connect to API
Checking apks ...
Analyzing com.facebook.katana
The following applications will be updated :
com.facebook.katana.apk Version : 54586640 -> 54394138
Do you agree?
Downloading ...
1/1 com.facebook.katana
Download complete
Updated: com.facebook.katana
$ aapt dump xmltree com.facebook.katana.apk AndroidManifest.xml | grep versionName
A: android:versionName(0x0101021c)="118.0.0.22.79" (Raw: "118.0.0.22.79")
Dear,
Much thanks for the application. I have not succeeded in downloading be.axa.mobilebanking and I do not understand why. I would appreciate ideas and suggestions to understand why it does not work and what I can do to download that application and run it on a jolla phone without having to run google play on the phone.
Thanks
Using strong authentication, I've the following error message:
$ python gplay-cli.py -s runtastic
server says: NeedsBrowser
Traceback (most recent call last):
File "gplay-cli.py", line 224, in <module>
cli.search(list(),args.search_string,nb_results)
File "gplay-cli.py", line 159, in search
results = self.playstore_api.search(search_string, nb_results=nb_results).doc
AttributeError: 'GPlaycli' object has no attribute 'playstore_api'
When running updates the new apk is downloaded but it gets the file name of the previous apk. e.g.
Analyzing com.comuto
The following applications will be updated :
com_comuto-275.apk Version : 275 -> 280
Do you agree?
y/n ?y
Downloading ...
1/1 com.comuto
Updated: com.comuto
xxx@xxx:~/srclib/gplaycli$ ls
com_comuto-275.apk credentials.conf ext_libs gplaycli.py __init__.py LICENSE.md README.md requirements.txt
It would be nice to fetch a list of app Ids from Google Play categories,
e.g. Top 100 free apps.
Credentials got broken again. It should be fixable, right?
Cannot login to GooglePlay ( server says: BadAuthentication )
Thank you
The credentials are stored in /etc
which make them non modifiable by users
Androguard is a huge library. Pyaxmlparser can parse all of the required things in a very small footprint
Hello,
I installed it in a debian chroot following your instructions and I got a strange output ; everytime it spits out the exact same list of apps completely regardless of what I provide in --search
gplaycli -s firefox
Title Creator Size Downloads Last Update AppID Version Rating
LinkPush Connor Dunn 17.2KB 50 000+ 7 juin 2010 uk.co.connorhd.android.linkpush 2 4.38
Market Update Helper Titanium Track 10.5KB 500 000+ 12 févr. 2013 com.keramidas.MarketUpdateHelper 3 4.12
PBrowser internet browser FREE OurMedia 1.4MB 5 000+ 24 févr. 2014 appinventor.ai_PieterBernabei.InternetBrowser 1 4.23
WebSharingLite (File Manager) NextApp, Inc. 2.0MB 500 000+ 23 janv. 2014 nextapp.websharing 2014 4.43
Bookmark Sort & Backup happydroid 173.4KB 100 000+ 17 sept. 2012 com.happydroid.bookmarks 49 4.17
Network Speed pt 43.0KB 500 000+ 29 avr. 2012 netspeed.pt 8 4.39
Stock Photo Power Search Imba Software 285.1KB 10 000+ 26 juin 2012 com.stockphotofeeds.msp 3 3.59
WiFi Keyboard Ivan Volosyuk. 91.1KB 500 000+ 9 juin 2013 com.volosyukivan 30 4.33
Unified Remote Unified Intents 1.1MB 1 000 000+6 août 2015 com.Relmtech.Remote 63 4.46
I checked the credential settings many times and the android id too...
Running under current debian stable with all dependencies (listed in readme.md and requirements.txt) installed i still get this error when running gplaycli:
$ ./gplaycli/gplaycli
Traceback (most recent call last):
File "./gplaycli/gplaycli", line 24, in <module>
from ext_libs.googleplay_api.googleplay import GooglePlayAPI # GooglePlayAPI
File "/usr/local/lib/python2.7/dist-packages/ext_libs/googleplay_api/googleplay.py", line 14, in <module>
from OpenSSL.SSL import Error as SSLError
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 112, in <module>
if _lib.Cryptography_HAS_SSL_ST:
AttributeError: 'FFILibrary' object has no attribute 'Cryptography_HAS_SSL_ST'
When running with python3:
$ python3 ./gplaycli/gplaycli
File "./gplaycli/gplaycli", line 56
except LoginError, exc:
^
SyntaxError: invalid syntax
Same result when running gplaycli installed through pip and when cloned from github.
EDIT: Same error when using version 0.1.2.
every app show
Error while downloading org.telenatura.pvgpslite : this package does not exist, try to search it via --search before
A few packages could not be downloaded :
org.telenatura.pvgpslite
while these pkg is exist in google play
I tried to download the "La banque postale" app:
https://play.google.com/store/apps/details?id=com.fullsix.android.labanquepostale.accountaccess
But it is not found after search:
[raphael@alarmpi gplaycli]$ ./gplaycli -s "La banque postale"
Title Creator Size Downloads Last Update
AppID Version Rating
Caf - Mon Compte Caisse nationale des Allocations familiales 732.5KB 1 000 000+22 juil. 2015 fr.cnaf.mobile.moncompte 5 3.91
ameli, l'Assurance Maladie Caisse Nationale d'Assurance Maladie 10.6MB 1 000 000+29 avr. 2015 fr.cnamts.it.activity 601 3.91
Leboncoin LBC France 10.1MB 5 000 000+6 août 2015 fr.leboncoin 28500 4.18
Application mobile Pôle emploi Pôle emploi 4.9MB 1 000 000+2 avr. 2015 com.poleemploi.pemobile 312 3.33
Mes Paiements La Banque Postale 8.5MB 50 000+ 29 juin 2015 com.lbp.peps 11 3.28
Prépayé par la Banque Postale La Banque Postale 3.2MB 10 000+ 18 mars 2015 ppc.mobile.app.client 6 3.28
Banque Caisse d'Epargne 8.8MB 1 000 000+19 mars 2015 com.caisseepargne.android.mobilebanking 25 4.05
Impots.gouv Direction générale des Finances publiques 1.7MB 500 000+ 28 avr. 2015 fr.gouv.finances.smartphone.android 25 3.21
Ma Banque CREDIT AGRICOLE TECHNOLOGIES ET SERVICES 41.9MB 1 000 000+20 juil. 2015 fr.creditagricole.androidapp 32 3.83
Run Sackboy! Run! PlayStation Mobile Inc. 292.1MB 1 000 000+8 avr. 2015 com.playstation.runsackboyrun 42 4.19
Trying to download it using its ID does not work either:
[raphael@alarmpi gplaycli]$ ./gplaycli -d com.fullsix.android.labanquepostale.accountaccess
Error while downloading com.fullsix.android.labanquepostale.accountaccess : this package does not exist, try to search it via --search before
i used this app long time,
teday,i download an app by it, but it is say:
downCannot login to GooglePlay ( server says: NeedsBrowser )
how to change it?
https://f-droid.org/forums/topic/fdroid-update-of-simple-binary-repo-does-nothing/#post-10698
i try to do it remove the apk with the name of version and it's work.
fdroid@fdroid:~$ /usr/bin/gplaycli -c /etc/gplaycli/credentials.conf -u /var/www/fdroid/repo
Using credentials.conf from current directory...
Everything is up to date !
fdroid@fdroid:~$ echo $?
1
I'd expect it to return 0 when everything is fine. This is important when using it in cron jobs or scripts, as a return code != 0 should be checked for abnormal runs.
hello,
when i use it, sometimes i got (server says: BadAuthentication) error.
I didn't use token,
please help to avoid badAuth
thanks,,
Hello,
I have this error when I try to download an apk.
pierre@dedeimos ~ » gplaycli -s wirex
Title Creator Size Downloads Last Update AppID Version Rating
Wirex. Carte de Bitcoin Wirex 21.7MB 10 000+ 9 sept. 2016 com.wirex
pierre@dedeimos ~ » gplaycli -d com.wirex
Error while downloading com.wirex : this package does not exist, try to search it via --search before
A few packages could not be downloaded :
com.wirex
list index out of range
I have changed the credentials in .config/gplaycli/credentials.conf, and the searhc function find the ID.
Thanks for your job ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.