Scan with your iPhone to install
Preview
Criação de conteúdo todos os dias
What's New
Version 1.0
First release
What it does
35 actions-
CommentAll Media Downloader Version 7 This version brings back AMD Pro with a ton of features. Support Sites: Instagram, X(formally Twitter), Facebook, YouTube, Reddit, Pinterest, LinkedIn, Threads Vimeo, Likee DailyMotion, SoundCloud XVideos
-
Dictionary
-
Match Text
-
If
-
Set Name
-
Save File
-
Stop This Shortcut
-
If
-
Get URLs from Input
-
Expand URL
-
Set VariableUserLink
-
Get File
-
Get Contents of URL……
-
Set VariableRespose
-
Set VariableStatus
-
If
-
Show AlertNew version available
-
Open URLs
-
Stop This Shortcut
-
If
-
Show Notification…
-
Stop This Shortcut
-
Set VariableResources
-
Repeat with Each
-
Set VariableHeaders
-
If
-
Set VariableCookie
-
If
-
Set VariableCookie
-
Set VariableMediaType
-
Get Contents of URL…
-
If
-
Save to Photo Album
-
If
-
Save File
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/documents'
#define color red
#define glyph downloadArrow
/*
All Media Downloader Version 7
This version brings back AMD Pro with a ton of features.
Support Sites:
Instagram,
X(formally Twitter),
Facebook,
YouTube,
Reddit,
Pinterest,
LinkedIn,
Threads
Vimeo,
Likee
DailyMotion,
SoundCloud
XVideos
*/
const Settings = {
"key": "amdkey.txt",
"name": "All Media Downloader",
"server": {
"url": "https://api.allmediadownloader.com/api/v1/extractor?url="
},
"socials": {
"instagram": "https://www.instagram.com/allmediadownloader",
"reddit": "https://www.reddit.com/r/allmediadownloader/s/9UHWuZhvIS",
"telegram": "https://t.me/shortkats",
"tiktok": "https://www.tiktok.com/@allmediadownloader?_t=ZM-8uwyUxYQXcF\u0026_r=1",
"x": "https://x.com/mediadownloader?s=21"
},
"version": "7.3.2"
}
const Matches = containsText(ShortcutInput, "\bamd_[A-Za-z0-9]{16}\b")
if Matches['text'] {
const RenamedItem = setName(Matches, Settings['key'])
saveFile("", RenamedItem, true)
stop()
} else {
getURLs(ShortcutInput)
expandURL()
@UserLink
getFile(Settings['key'], false)
@Respose = fileRequest("{Settings['server.url']}{@UserLink}", "GET", {
"x-amd-version": "{Settings['version']}",
"x-api-key": "{}"
})
@Status = @Respose
if @Status == "update" {
alert(@Respose['data.release_notes'], "New version available")
openURL(@Respose)
stop()
}
if @Status == "error" {
showNotification(@Respose['message'], "Download Error", false, @Status)
stop()
}
@Resources = @Respose
for _ in @Resources {
@Headers = @RepeatItem
if @Headers {
@Cookie = @Headers
} else {
@Cookie = nil
}
@MediaType = @RepeatItem
const ContentsOfURL = downloadURL(@RepeatItem['url'], {
"Cookie": "{@Cookie}",
"Referer": "{@UserLink}"
})
if @MediaType != "audio" {
savePhoto(ContentsOfURL, "Recents")
} else {
saveFile("", ContentsOfURL, true)
}
}
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
You Might Also Like
Advertisement