ShareShortcuts

All Media Downloader

Criação de conteúdo todos os dias

geovanareal
Fork “All Media Downloader”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so geovanareal gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
13K
Saved
2
Actions
35
Category
Photos and videos
Version
1.0
Language
PT

Preview

Criação de conteúdo todos os dias

What's New

Version 1.0

First release

Version History
1.0 Sep 17, 2025

First release

What it does

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

View as code
Beta

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

See All
Advertisement