[david-lev/PlaystoreDownloader](https://github.com/david-lev/PlaystoreDownloader)
[ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master](https://github.com/ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master)
[ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R6](https://github.com/ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R6)
It seems that it refers to the following message on program start:

Note that on [the latest version (3.0)](https://raccoon.onyxbits.de/dummydroid/) there is no more this message and I have not been limited except with the save feature.
<details>
<summary>While it seems that I correctly retrieve the <code>ANDROID_ID</code>, as <a href="https://medium.com/testableapple/how-to-download-apk-from-play-store-2634c0c67620">it seems to be the GSF ID</a>. <i>Uplink</i> > <i>Register GSF ID</i>:</summary>
```
Register GSF ID (please wait 10 seconds)...
# Success
GSF ID: CENSORED
User Agent: Android-Finsky/CENSORED (api=3,versionCode=CENSORED,sdk=30,device=CENSORED,hardware=qcom,product=CENSORED,platformVersionRelease=11,model=SM-CENSORED,buildId=CENSORED)
```
</details>
<details>
<summary>I tried unsuccessfully with <i>Uplink</i> > <i>Download App</i> to use <i>token</i> as <code>AUTH_TOKEN</code>:</summary>
```
Download...
# Success
* com.carrefour.fid.android-1804.apk [42.7 MB]:
https://play.googleapis.com/download/by-token/download?token=CENSORED&cpn=CENSORED
* com.carrefour.fid.android-1804_config.arm64_v8a.apk [12.9 MB]:
https://play.googleapis.com/download/by-token/download?token=CENSORED&cpn=CENSORED
```
</details>
<details>
<summary>After <i>Uplink</i> > <i>Web login flow</i>, got:</summary>
```
# Success
Account: CENSORED@gmail.com
Name: Benjamin Loison
Email: CENSORED@gmail.com
Auth Token: CENSORED
Services: hist, lh2, youtube, talk, cl, multilogin, mail, cloudconsole, android
```
</details>
With this `Auth Token` with https://github.com/david-lev/PlaystoreDownloader I am able to make it work. However, is the downloaded `.apk` enough while possibly need multiple files (see [Benjamin_Loison/AuroraStore/issues/5](https://gitlab.com/Benjamin_Loison/AuroraStore/-/issues/5))?
Well it does not seem to download all necessary APKs for `com.carrefour.fid.android`, as I got:

Using the option:
```
-s, --split-apks Download the additional split apks along with the application (if any)
```
solves this issue.
Once have analyzed other forks, should contribute with a pull request.
Should consider merging last before archiving commits.
Related to [Benjamin_Loison/AuroraStore/issues/6](https://gitlab.com/Benjamin_Loison/AuroraStore/-/issues/6).
pipenv run python download.py fr.gouv.franceidentite
Output:
24/03/2024 15:20:14> [ERROR][playstore.playstore.Playstore][_download_with_progress()] DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
24/03/2024 15:20:14> [ERROR][playstore.playstore.Playstore][download()] Error during the download: DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
Traceback (most recent call last):
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 382, in _download_with_progress
cookie = delivery_data.downloadAuthCookie[0]
File "/home/benjamin/.local/share/virtualenvs/PlaystoreDownloader-g2I0ZLNl/lib/python3.10/site-packages/google/protobuf/internal/containers.py", line 209, in __getitem__
return self._values[key]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 717, in download
list(
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 387, in _download_with_progress
raise RuntimeError(
RuntimeError: DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
24/03/2024 15:20:14> [CRITICAL][__main__][main()] Error when downloading 'fr.gouv.franceidentite'
Considering before archiving commits seem to make sense.
Get with and without `-s`:
```bash
pipenv run python download.py fr.gouv.franceidentite
```
<details>
<summary>Output:</summary>
```
24/03/2024 15:20:14> [ERROR][playstore.playstore.Playstore][_download_with_progress()] DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
24/03/2024 15:20:14> [ERROR][playstore.playstore.Playstore][download()] Error during the download: DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
Traceback (most recent call last):
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 382, in _download_with_progress
cookie = delivery_data.downloadAuthCookie[0]
File "/home/benjamin/.local/share/virtualenvs/PlaystoreDownloader-g2I0ZLNl/lib/python3.10/site-packages/google/protobuf/internal/containers.py", line 209, in __getitem__
return self._values[key]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 717, in download
list(
File "/home/benjamin/PlaystoreDownloader/playstore/playstore.py", line 387, in _download_with_progress
raise RuntimeError(
RuntimeError: DownloadAuthCookie was not received for 'fr.gouv.franceidentite'
24/03/2024 15:20:14> [CRITICAL][__main__][main()] Error when downloading 'fr.gouv.franceidentite'
```
</details>
Considering before archiving commits seem to make sense.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
david-lev/PlaystoreDownloader
ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master
ClaudiuGeorgiu/PlaystoreDownloader/compare/master...david-lev:PlaystoreDownloader:master#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R6
It seems that it refers to the following message on program start:
Note that on the latest version (3.0) there is no more this message and I have not been limited except with the save feature.
While it seems that I correctly retrieve the
ANDROID_ID, as it seems to be the GSF ID. Uplink > Register GSF ID:I tried unsuccessfully with Uplink > Download App to use token as
AUTH_TOKEN:After Uplink > Web login flow, got:
With this
Auth Tokenwith https://github.com/david-lev/PlaystoreDownloader I am able to make it work. However, is the downloaded.apkenough while possibly need multiple files (see Benjamin_Loison/AuroraStore/issues/5)?Well it does not seem to download all necessary APKs for
com.carrefour.fid.android, as I got:Using the option:
solves this issue.
Once have analyzed other forks, should contribute with a pull request.
Should consider merging last before archiving commits.
Related to Benjamin_Loison/AuroraStore/issues/6.
Get with and without
-s:Output:
Considering before archiving commits seem to make sense.