ShareShortcuts
„DTikTok“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit uitx301 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
119K
Gesichert
8
Aktionen
37
Kategorie
Photos and videos
Version
1.0
Sprache
EN

Vorschau

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

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 18. Mai 2021

First release

Was er macht

37 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von uitx301

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung