ShareShortcuts

TikTok Downloader

Download Any Video from TikTok app Without Watermark

pola
Fork “TikTok Downloader”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so pola gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
28K
Saved
0
Actions
38
Category
Social Network
Version
1.0
Language
EN

Download Any Video from TikTok app Without Watermark

What's New

Version 1.0

First release

Version History
1.0 Dec 20, 2023

First release

What it does

38 actions
  1. Dictionary
  2. Get Contents of URL
    https://updatekit.mikebeas.com/v1
  3. Get Dictionary Value
  4. If
  5. Choose from Menu
    New version available. What's new: … Press UPDATE to download latest version.
  6. Choose from Menu
    UPDATE
  7. Open URLs
  8. Stop This Shortcut
  9. Choose from Menu
    SKIP
  10. Nothing
  11. Comment
    TikTok Downloader Download Any Video from TikTok app Without Watermark
  12. If
  13. URL
  14. Expand URL
  15. Set Variable
    Link
  16. If
  17. URL
    https://tiktokdownload.online/abc?url=…
  18. Get Contents of URL
    …
  19. Make HTML from Rich Text
  20. Match Text
  21. Replace Text
  22. URL
    https://tiktokdownload.online/abc?url=…
  23. Get Contents of URL
    …
  24. Make HTML from Rich Text
  25. Split Text
  26. Combine Text
  27. Split Text
  28. Combine Text
  29. If
  30. Match Text
  31. URL
  32. Get Contents of URL
    …
  33. Save to Photo Album
  34. If
  35. Match Text
  36. URL
  37. Get Contents of URL
    …
  38. Save to Photo Album

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#define color darkgray
#define glyph movieCamera

const UPDATE = jsonRequest("https://updatekit.mikebeas.com/v1", "POST", {
	"shortcut": {
		"id": "16965",
		"module": "routinehub",
		"version": "1.3"
	}
})
const Response = getValue(UPDATE, "update")

if Response ==  {
	menu "New version available. \nWhat's new: \n{UPDATE['payload.notes']}\nPress UPDATE to download latest version." {
	item "UPDATE":
		openURL(UPDATE['payload.download'])
		stop()
	item "SKIP":
	}
}
/*
TikTok  Downloader

Download Any Video from TikTok app Without Watermark

*/

if ShortcutInput {
	const InpURL = url(ShortcutInput)
	expandURL(InpURL)
	@Link
	if @Link contains "tiktok" {
		url("https://tiktokdownload.online/abc?url={@Link}")
		const ContentsOfURL = downloadURL()
		makeHTML(ContentsOfURL)
		containsText(, "tt:'([^']+)")
		const Tt = replaceText("tt:'", "")
		url("https://tiktokdownload.online/abc?url={@Link}")
		const ContentsOfURL1 = formRequest(, "POST", {
			"id": "{@Link}",
			"locale": "en",
			"tt": "{Tt}"
		})
		const HTMLFromRichText = makeHTML(ContentsOfURL1)
		const SplitText = splitText(HTMLFromRichText)
		const CombinedText = joinText(SplitText, " ")
		const SplitText1 = splitText(CombinedText, " ")
		const CombinedText1 = joinText(SplitText1, "Custom")
		if CombinedText1 contains "flex-1result_overlay_buttonspure-u-1pure-u-sm-1-2\"><ahref=\"" {
			const Turll = containsText(CombinedText1, "(?<=flex-1result_overlay_buttonspure-u-1pure-u-sm-1-2\"><ahref=\").*?(?=\")")
			url(Turll)
			const ContentsOfURL2 = downloadURL()
			savePhoto(ContentsOfURL2)
		} else {
			const Turl = containsText(CombinedText1, "(?<=ahref=\").*?(?=\"class=\"pure-buttonpure-button-primaryis-centeru-bldl-buttondownload_linkslidenotranslate\"download>Downloadthisslide)")
			url(Turl)
			const ContentsOfURL3 = downloadURL()
			savePhoto(ContentsOfURL3)
		}
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by pola

See All

You Might Also Like

See All
Advertisement