Git Product home page Git Product logo

google's Introduction

Google Play

Download APK from Google Play or send API requests

how to build?

This module works with Windows, macOS or Linux. Download Go 1 and extract archive. Then download Google Play Zip and extract archive. Then navigate to:

internal/play

and enter:

go build
  1. https://go.dev/dl

tool examples

sign in with your Google Account. then get authorization code (oauth_token) cookie from browser storage. should be valid for 10 minutes. then exchange authorization code for refresh token (aas_et):

play -o oauth2_4/0Adeu5B...

create a file containing X-DFE-Device-ID (GSF ID) for future requests:

play -d

get app details:

> play -i com.google.android.youtube
creator:  Google LLC
offer: 0 LBP
version:  19.16.38
downloads:  Apr 24, 2024
file: APK APK APK APK
android version: 8.0 and up
downloads: 16.22 billion
name: YouTube
size: 113.80 megabyte
version code: 1545729472
changelog:  For new features, look for in-product education & notifications sharing the feature and how to use it!

acquire app. only needs to be done once per Google account:

play -i com.google.android.youtube -a

download APK. you need to specify any valid version code. the latest code is provided by the previous details command. if APK is split, all pieces will be downloaded:

play -i com.google.android.youtube -v 1540222400

goals

  1. Pixel 6 (2021)
  2. Android 12 (2021)
  3. Google Play 29 (2022)

non goals:

email/password login. up to Android 4.4 (2013), the login is protected with TLS fingerprinting, which is difficult but possible to bypass. since Android 5 (2014), Google uses bot-guard via JavaScript to protect the login. I do not know how to reverse that, and I did not find any implementations online.

thanks

google's People

Contributors

3052 avatar shifoc avatar

Stargazers

 avatar

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.