ShareShortcuts

Mav Export

Download clips from Tiktok

uitx30
Fork “Mav Export”

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 uitx30 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
52K
Saved
2
Actions
38
Category
Photos and videos
Version
1.0
Language
EN

Download clips from Tiktok

What's New

Version 1.0

First release

Version History
1.0 May 6, 2021

First release

What it does

38 actions
  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

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'
#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 ")
	}
}
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 uitx30

See All

You Might Also Like

See All
Advertisement