Scanne avec ton iPhone pour installer
Aperçu
Criação de conteúdo todos os dias
Nouveautés
Version 1.0
First release
Ce qu’il fait
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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)
}
}
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité