/usr/bin/zip
wget google-sync-addon/sources/files/app/GoogleContactsSyncAdapter.apk -U Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 http://[domain]/wp-content/themes/APKMirror/download.php?id=246810
--2017-11-15 01:57:00-- http://[domain]/wp-content/themes/APKMirror/download.php?id=246810
Resolving [domain]... 104.19.134.58, 104.19.136.58, 104.19.132.58, ...
Connecting to [domain]|104.19.134.58|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://[domain]/wp-content/themes/APKMirror/download.php?id=246810 [following]
--2017-11-15 01:57:00-- https://[domain]/wp-content/themes/APKMirror/download.php?id=246810
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Connecting to [domain]|104.19.134.58|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://[domain] [following]
--2017-11-15 01:57:01-- https://[domain]/
Reusing existing connection to [domain]:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘google-sync-addon/sources/files/app/GoogleContactsSyncAdapter.apk’
google-sync-add [ <=> ] 27.95K --.-KB/s in 0.06s
2017-11-15 01:57:01 (458 KB/s) - ‘google-sync-addon/sources/files/app/GoogleContactsSyncAdapter.apk’ saved [189293]
ERROR: The file 'google-sync-addon/sources/files/app/GoogleContactsSyncAdapter.apk' is corrupted.
The file itself is just HTML. Was considering download the pico opengapps, and extracting the apks from there.