ShareShortcuts

All Media Downloader

Criação de conteúdo todos os dias

geovanareal
Fazer fork de “All Media Downloader”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que geovanareal receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
13K
Salvo
2
Ações
35
Categoria
Photos and videos
Versão
1.0
Idioma
PT

Pré-visualização

Criação de conteúdo todos os dias

Novidades

Versão 1.0

First release

Histórico de versões
1.0 17 de set de 2025

First release

O que ele faz

35 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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)
		}
	}
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade