Git Product home page Git Product logo

gplaycli's People

Contributors

davefalak avatar fernandocollova avatar guoqiao avatar matlink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gplaycli's Issues

Filename not updated

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

Can't download some apks (like com.tomtom.speedcams.android.map), it exists when browsing, but can't download

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.

Does not work with google authenticator

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'

Wrong return code when updated successfully

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.

gplaycli silently fails to update package dir

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.

Unable to search or download official US Starbucks app

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!

this package does not exist, try to search it via --search before

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 ;)

Feature request: Logs

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

  • apps_downloaded_log.txt: Apps downloaded.
  • apps_failed_log.txt: Apps failed. (because of too many connection for token or sometimes when cant login to google play: bad auth)
  • apps_not_available_log.txt: Paid apps or limited to specific country.

AttributeError: 'FFILibrary' object has no attribute 'Cryptography_HAS_SSL_ST'

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.

Always get the same results when searching

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...

App not found after search

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

can't download free app

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

gplaycli "updates" APKs to an older version if your current version is newer than what's available from Play

$ 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")

Can find an app, but not download it

$ 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

Make the source code pep8 compliant

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.

Add libssl-dev as a dependency

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

Call gplaycli with php

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.

Credentials path with virtualenv

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)

Find a solution to embedded credentials.conf

Providing default credentials result in some issues:

  • anybody can change this account password
  • this account could be used for bad purposes (spam, ...)

Current solutions we could take are:

  • Remove default credentials then add an easy way to create credentials and bind an androidID
  • Make as difficult as possible for anyone except gplaycli maintainers to change the account password

We are open for propositions, if anyone has knowledge on such issues ...

Can not download and get app detail

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?(´・_・`)

credentials broken

Credentials got broken again. It should be fixable, right?

Cannot login to GooglePlay ( server says: BadAuthentication )

Thank you

Unregistered Email and Android-ID not able to simulate real download on PlayStore

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"

not possible to download be.axa.mobilebanking

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

Cannot login to GooglePlay ( server says: BadAuthentication )

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!

SSLError - CentOS 7

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.

being blocked

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 )"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.