apk download script

Issue #31 new
Nils Borrmann created an issue

I wrote a small bash script to download the Jodel apk from apkfind.com. Maybe this is helpful to you.

source=$(curl -s "https://apk-dl.com/com.tellm.android.app")

version=$(echo $source | grep -Po "(?<=\"softwareVersion\" : \").+?(?=\")")
date=$(echo $source | grep -Po "(?<=\"datePublished\" : \").+?(?=\")")
apkurl=$(echo $source | grep -Po "http:\/\/apkfind.com\/root\/apk\/[0-9]+\/[0-9]+\/[0-9]+\/com.tellm.android.app_[0-9]+\.apk")

filename="com.tellm.android.app-$version.apk"

echo "current version is $version, published on $date"
wget -O $filename $apkurl"?dl=1"

Comments (1)

  1. Log in to comment