ShareShortcuts

Mav Export

Download clips from Tiktok

uitx30
Fazer fork de “Mav Export”

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 uitx30 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
52K
Salvo
2
Ações
38
Categoria
Photos and videos
Versão
1.0
Idioma
EN

Download clips from Tiktok

Novidades

Versão 1.0

First release

Histórico de versões
1.0 6 de mai de 2021

First release

O que ele faz

38 ações
  1. Text
  2. Text
  3. Text
  4. Text
  5. Text
  6. Get Latest Photos
  7. Comment
    If you’ve purchased a premium plan, edit “Hz6WkNF02NvA” with your premium key to enjoy using the service without any hourly limit. To purchase premium key visit https://mavexport.com/buy
  8. Make Archive
  9. Text
  10. Send Email
  11. Get URLs from Input
  12. If
  13. Get Contents of URL
    https://api.mavexport.com/register
  14. If
  15. Show Alert
  16. If
  17. Get Contents of URL
    https://api.mavexport.com/download?apptoken=…
  18. If
  19. Save to Photo Album
  20. Show Alert
  21. If
  22. Show Alert
  23. If
  24. Get Clipboard
  25. If
  26. Get Contents of URL
    https://api.mavexport.com/register
  27. If
  28. Show Alert
    MavExport.Com
  29. If
  30. Get Contents of URL
    https://api.mavexport.com/download?apptoken=…
  31. If
  32. Save to Photo Album
  33. Show Alert
  34. If
  35. Show Alert
  36. If
  37. Show Alert
  38. Text

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/sharing'
#include 'actions/photos'
#define color violet
#define glyph downloadArrow

const  = getLatestPhotos(3)
// If you’ve purchased a premium plan, edit “Hz6WkNF02NvA” with your premium key to enjoy using the service without any hourly limit. To purchase premium key visit https://mavexport.com/buy

makeArchive()
sendEmail(, "", "")
const URLs = getURLs(ShortcutInput)

if URLs contains "tiktok.com" {
	const ContentsOfURL = formRequest("https://api.mavexport.com/register", "GET", {}, {
		"AppToken": "{}"
	})
	if ContentsOfURL {
		confirm(ContentsOfURL)
	} else {
		const ContentsOfURL1 = formRequest("https://api.mavexport.com/download?apptoken={}", "POST", {
			"video": "{ShortcutInput}"
		}, {})
		if ContentsOfURL1 {
			savePhoto(ContentsOfURL1, "TikTok")
			alert("Saved Successfully.", "")
		} else {
			confirm("Incorrect TikTok Video Link")
		}
	}
} else {
	const Clipboard = getClipboard()
	if Clipboard contains "tiktok.com" {
		const ContentsOfURL2 = formRequest("https://api.mavexport.com/register", "GET", {}, {
			"AppToken": "{}"
		})
		if ContentsOfURL2 {
			alert(ContentsOfURL2, "MavExport.Com")
		} else {
			const ContentsOfURL3 = formRequest("https://api.mavexport.com/download?apptoken={}", "POST", {
				"video": "{Clipboard}"
			}, {})
			if ContentsOfURL3 {
				savePhoto(ContentsOfURL3, "Recents")
				alert("Saved Successfully.", "")
			} else {
				confirm("Incorrect TikTok Video Link ")
			}
		}
	} else {
		confirm("Incorrect Link / Empty Clipboard ")
	}
}
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

Mais de uitx30

Ver tudo

Você também pode gostar

Ver tudo
Publicidade