ShareShortcuts
Bifurcar “DTikTok”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que uitx301 reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
119K
Guardado
8
Acciones
37
Categoría
Photos and videos
Versión
1.0
Idioma
EN

Vista previa

DTikTok يتيح لك تحميل TikToks بدون علامة مائية مباشرة من ورقة حصتك بدون تثبيت أي برنامج إضافي.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 18 de may. de 2021

First release

Qué hace

37 acciones
  1. Comment
    DTikTok — 3.0.8 Made by user/heismauri on RoutineHub Get it on RoutineHub routinehub.co/shortcut/5870
  2. Dictionary
  3. URL
    data:text/html,<script> let xhr = new XMLHttpRequest() xhr.open('GET', 'https://routinehub.co/api/v1/shortcuts/…/versions/latest', false) xhr.send() document.write(xhr.responseText) </script>
  4. Get Text from Input
  5. If
  6. Get Dictionary Value
  7. If
  8. Text
  9. Choose from Menu
    …
  10. Choose from Menu
    Update now
  11. URL
    https://routinehub.co/download/…
  12. Open URLs
  13. Stop This Shortcut
  14. If
  15. Get Variable
  16. If
  17. Get Clipboard
  18. If
  19. Ask for Input
    TikTok URL
  20. If
  21. Get Contents of URL
    …
  22. If
  23. Show Notification
    Error - This TikTok cannot be downloaded
  24. If
  25. Get URLs from Input
  26. Match Text
  27. Get Contents of URL
    …
  28. Save to Photo Album
  29. Show Notification
    Media saved to your gallery
  30. If
  31. Show Notification
    URL not supported
  32. Get Latest Photos
  33. Get Details of Images
  34. Get Images from Input
  35. Convert Image
  36. Make Archive
  37. Send Email

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#include 'actions/web'
#include 'actions/text'
#define color red
#define glyph filmstrip

/*
DTikTok — 3.0.8
Made by user/heismauri on RoutineHub

Get it on RoutineHub
routinehub.co/shortcut/5870
*/
const Main = {
	"dtiktok": {
		"api": "https://snaptik.app/action.php",
		"token": "383111043052"
	},
	"id": 5870,
	"name": "DTikTok",
	"version": "3.0.8"
}
const URL = url("data:text/html,<script>\nlet xhr = new XMLHttpRequest()\nxhr.open('GET', 'https://routinehub.co/api/v1/shortcuts/{Main['id']}/versions/latest', false)\nxhr.send()\ndocument.write(xhr.responseText)\n</script>")
const Response = getText(URL)

if Response {
	const latestversion = getValue(Response, "Version")
	if latestversion != Main['version'] {
		const UpdatePrompt = "An update is available for \\"{Main['name']}\\"\n\nRelease notes: \n{Response['Notes']}\n\n{Main['version']} → {Response['Version']}"
		menu UpdatePrompt {
		item "Update now":
			const URL1 = url("https://routinehub.co/download/{Response['id']}")
			openURL(URL1)
			stop()
		}
	}
}

if ShortcutInput {
	// TODO: Get Variable not supported: Assign variable here to 'ShortcutInput'.
} else {
	getClipboard()
	if  !contains "tiktok.com" {
		prompt("TikTok URL", "URL")
	}
}

if InputURL contains "tiktok.com" {
	const ContentsOfURL = formRequest(Main['dtiktok.api'], "POST", {
		"token": "{Main['dtiktok.token']}",
		"url": "{InputURL}"
	}, {})
	if ContentsOfURL contains "error" {
		showNotification("Error - This TikTok cannot be downloaded", Main['name'])
	} else {
		getURLs(ContentsOfURL)
		containsText(, ".*tiktok.*")
		const ContentsOfURL1 = downloadURL(, {
			"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15"
		})
		const SavedPhotoMedia = savePhoto(ContentsOfURL1)
		showNotification("Media saved to your gallery", Main['name'], SavedPhotoMedia)
	}
} else {
	showNotification("URL not supported", Main['name'])
	const  = getLatestPhotos(170)
	getImageDetail(, "")
	const 1 = getImages()
	const 2 = convertImage(1, "", 0, false)
	makeArchive(2)
	sendEmail(, "", "❔❔", false)
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de uitx301

Ver todo

También te puede gustar

Ver todo
Publicidad