I’m not really sure what the point of this video is, but I guess just be generous. be kind to people, because you never know how much they might need it, or how far it’ll go.
download APK from Google Play or send API requests
because of repeated abuse, I no longer offer free discussion of this software. so unless you have paid up front, do not:
- post an issue
- post a pull request
- message me on discord
- email me
software is not licensed for commercial use. if you wish to purchase a commercial license, contact me.
https://paypal.com/donate?hosted_button_id=UEJBQQTU3VYDY
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 -a com.google.android.youtube
creator: Google LLC
file: APK APK APK APK
installation size: 89.03 megabyte
downloads: 14.81 billion
offer: 0 USD
requires: Android 8.0 and up
title: YouTube
upload date: Sep 22, 2023
version: 18.38.37
version code: 1540222400
acquire app. only needs to be done once per Google account:
play -a com.google.android.youtube -acquire
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 -a com.google.android.youtube -v 1540222400
- Pixel 6 (2021)
- Android 11 (2020)
- 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.
- srpen6@gmail.com
- Discord
- srpen6
- https://discord.com/invite/WWq6rFb8Rf