ShareShortcuts

TikTok Downloader 3.2

TikTok Video Downloader

reviver
Dupliquer « TikTok Downloader 3.2 »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que reviver soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
94K
Enregistré
2
Actions
51
Catégorie
API
Version
1.0
Langue
EN

TikTok Video Downloader

Nouveautés

Version 1.0

First release

Historique des versions
1.0 11 nov. 2019

First release

Ce qu’il fait

51 actions
  1. Comment
    Created by Cody Chrunos My website: chrunos.com Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
  2. Comment
    https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
  3. If
  4. Get Variable
  5. If
  6. Get Clipboard
  7. If
  8. Get Contents of URL
    …
  9. Get Name
  10. Set Variable
    Title
  11. Make HTML from Rich Text
  12. Set Variable
    Html
  13. Match Text
  14. Count
  15. If
  16. Text
  17. If
  18. Get Variable
  19. Set Variable
    U
  20. Match Text
  21. Count
  22. If
  23. Match Text
  24. If
  25. Get Variable
  26. Get Item from List
  27. Set Variable
    Id
  28. Count
  29. If
  30. Show Alert
    Text Match Failed
  31. If
  32. URL
    https://tikvid.com/…/tiktok-video/…
  33. Get Contents of URL
    …
  34. Get URLs from Input
  35. Repeat with Each
  36. If
  37. Get URLs from Input
  38. Set Variable
    Dl
  39. If
  40. Get Item from List
  41. Get URLs from Input
  42. Get Contents of URL
    …
  43. Choose from Menu
  44. Choose from Menu
    Save to Photos
  45. Save to Photo Album
  46. Choose from Menu
    Save to Files
  47. Save File
  48. Choose from Menu
    Save Audio Only
  49. Encode Media
  50. If
  51. Show Alert
    Oops!

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#include 'actions/sharing'
#define color darkgray
#define glyph musicNote

/*
Created by Cody Chrunos
My website: chrunos.com
Watch tutorial videos in my YouTube channel: https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ
*/
// https://www.youtube.com/channel/UCtj4sKppQr_Xd9TjxSw4JwQ


const IfResult = if ShortcutInput contains "tiktok.com" {
	// TODO: Get Variable not supported: Assign variable here to 'ShortcutInput'.
} else {
	getClipboard()
}

if IfResult contains "tiktok.com" {
	const ContentsOfURL = downloadURL(IfResult)
	getName(ContentsOfURL)
	@Title
	makeHTML(ContentsOfURL)
	@Html
	const Matches = containsText(@Html, "(?<=\(@).{1,99}(?=\)\,)")
	const Count = count(Matches, "Items")
	if Count < 1 {
	} else {
		// TODO: Get Variable not supported: Assign variable here to 'Matches'.
	}
	@U = "i18n"
	const Matches1 = containsText(@Html, "(?<=tiktok\.com\/v\/)\d{19}(?=\.html)")
	const Count1 = count(Matches1, "Items")
	if Count1 < 1 {
		containsText(@Html, "(?<=video\/)\d{19}(?=\/)")
	} else {
		// TODO: Get Variable not supported: Assign variable here to 'Matches1'.
	}
	getListItems(IfResult1, 0, 0)
	@Id
	const Count2 = count(@Id, "Characters")
	if Count2 < 19 {
		alert("This means this shortcut is not optimized for your region. Run the Debug to report the error. It will be helpful if you could also specify your country name.", "Text Match Failed")
	} else {
	}
	url("https://tikvid.com/{@U}/tiktok-video/{@Id}")
	downloadURL()
	const URLs = getURLs()
	for _ in URLs {
		if @RepeatItem contains "muscdn.com" {
			getURLs(@RepeatItem)
			@Dl
		} else {
		}
	}
	getListItems(@Dl, 0, 0)
	getURLs()
	const ContentsOfURL1 = downloadURL()
	menu nil {
	item "Save to Photos":
		savePhoto(ContentsOfURL1)
	item "Save to Files":
		saveFilePrompt(ContentsOfURL1)
	item "Save Audio Only":
		setMetadata(ContentsOfURL1)
	}
} else {
	alert("A TikTok link could not be found!", "Oops!")
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de reviver

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité