ShareShortcuts

All Media Downloader

Criação de conteúdo todos os dias

geovanareal
Dupliquer « All Media Downloader »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que geovanareal soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
13K
Enregistré
2
Actions
35
Catégorie
Photos and videos
Version
1.0
Langue
PT

Aperçu

Criação de conteúdo todos os dias

Nouveautés

Version 1.0

First release

Historique des versions
1.0 17 sept. 2025

First release

Ce qu’il fait

35 actions
  1. Comment
    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
  2. Dictionary
  3. Match Text
  4. If
  5. Set Name
  6. Save File
  7. Stop This Shortcut
  8. If
  9. Get URLs from Input
  10. Expand URL
  11. Set Variable
    UserLink
  12. Get File
  13. Get Contents of URL
    ……
  14. Set Variable
    Respose
  15. Set Variable
    Status
  16. If
  17. Show Alert
    New version available
  18. Open URLs
  19. Stop This Shortcut
  20. If
  21. Show Notification
    …
  22. Stop This Shortcut
  23. Set Variable
    Resources
  24. Repeat with Each
  25. Set Variable
    Headers
  26. If
  27. Set Variable
    Cookie
  28. If
  29. Set Variable
    Cookie
  30. Set Variable
    MediaType
  31. Get Contents of URL
    …
  32. If
  33. Save to Photo Album
  34. If
  35. Save File

Afficher en tant que code
Bêta

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

Tout afficher
Publicité