Comments (5)
I've ultimately decided to keep the CLI simple and not include yet another identifier as a command parameter. I'd suggest using one of the suggestions mentioned above.
from ipatool.
@majd What would be wrong with doing so, it would be a lot more convenient to just paste in the ID show in App Store URLs rather than. I don't see why that would be a problem, its not yet another, just one that would make things much easier for users. Honestly, it should've been the one to use for ipatool instead of bundle identifier?
How would you even easily get a bundle identifier? I'm just curious what made you pick it in the first place too.
from ipatool.
@majd I did try display the id in the output to table style with ANSI-Colors, But this will depend on third package SwiftyTextTable I just forked and modified, so I am not sure If I should make a PR
search git result:
from ipatool.
I'd rather not introduce a new dependency. I'm planning to revise the output format in an upcoming major version so I'll park this feature request until then.
from ipatool.
You can turn trackId into bundleId by chaining few commands like this:
echo 899247664 | awk '{print "http://itunes.apple.com/lookup?id="$1}' | xargs curl -s | python3 -c "import sys, json; print(str(json.load(sys.stdin)['results'][0]['bundleId']))"
To download the resulting bundleId it with ipatool, just add it to the end like this:
echo 899247664 | awk '{print "http://itunes.apple.com/lookup?id="$1}' | xargs curl -s | python3 -c "import sys, json; print(str(json.load(sys.stdin)['results'][0]['bundleId']))" | xargs ipatool download -b
If you want the input to be the full url, then it would be:
echo https://apps.apple.com/us/app/testflight/id899247664 | awk -F/id '{print "http://itunes.apple.com/lookup?id="$2}' | xargs curl -s | python3 -c "import sys, json; print(str(json.load(sys.stdin)['results'][0]['bundleId']))" | xargs ipatool download -b
For ultimate convenience you can create an alias:
alias ipatoolb='f() { echo $1 | awk -F/id '\''{print "http://itunes.apple.com/lookup?id="$2}'\'' | xargs curl -s | python3 -c "import sys, json; print(str(json.load(sys.stdin)[\"results\"][0][\"bundleId\"]))" | xargs ipatool download -b};f'
and call it like that ipatoolb https://apps.apple.com/us/app/testflight/id899247664
from ipatool.
Related Issues (20)
- Progress bar still showing in non-interactive mode
- Please add support to request/generate kbsync for purchasing old apps HOT 3
- ERR error="failed to get account: failed to get item: The specified item could not be found in the keyring" HOT 4
- request failed: request failed HOT 2
- Support multiple accounts HOT 2
- Whar app want HOT 1
- Older versions of ipatool HOT 1
- Random Throttles in Download Speed HOT 1
- hight sierra HOT 1
- ailed to save account in keychain: failed to set item: keychain passphrase is required when not running in interactive mode; use the "--keychain-passphrase" flag HOT 1
- Best usage guide
- Hey sir, how can i download an app? HOT 3
- failed to remove original file HOT 2
- ERR error="required flag(s) \"email\" not set" HOT 2
- No long auth login just: INF email= name=" " success=true HOT 5
- failed to remove original file: process cannot access the file ebcause it is being used by another process HOT 2
- downloading 0% | | ( 0/ 1 B) 5:19PM ERR error="license is required" success=false HOT 1
- .IPA not opening after being installed HOT 1
- crashes Windows HOT 1
- Expose cobra command functions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipatool.