ShareShortcuts

TDownload v2.1

Hey everyone!

gnalo
„TDownload v2.1“ 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 gnalo 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
5K
Gesichert
3
Aktionen
114
Kategorie
Utilities
Version
1.5
Sprache
EN

Hey everyone! Just a quick heads-up that our API access is currently paused for INSTAGRAM and FACEBOOK because of it hit limits/needs subscription renewal. If you'd like support the project and help get everything back up and running, you can support on KO-FI / SOCIABUZZ via the link in my profile. Every little bit helps, and i truly appreciate all your support!

https://sociabuzz.com/gnalo/tribe

or

https://ko-fi.com/gnalodev

Neue Funktionen

Version 1.5

Fixing bugs of the API-Key

Versionsverlauf
1.5 17. Okt 2026

Fixing bugs of the API-Key

1.4 15. Okt 2026

Update • Instagram & Facebook video restored • TikTok HD + one image from TikTok photo posts • X/Twitter video & photo • IG/FB albums still not included

1.3 12. Okt 2026

v2.0 • X/Twitter video & photo • TikTok HD + one image from TikTok photo posts • Instagram & Facebook temporarily off

1.2 3. Okt 2026

The old link is broken and causes error to be used. This is the renewed link

1.1 30. Sep 2026

v1.2 • TikTok HD (hdplay, fallback to play) • TikTok photo posts: type a slide number, save that one image • Fixed empty URL check • Instagram video + Facebook video unchanged • IG/FB slideshows not included yet

1.0 24. Sep 2026

First release

Was er macht

114 Aktionen
  1. If
  2. Set Variable
    RawLink
  3. If
  4. Get Clipboard
  5. Set Variable
    RawLink
  6. Get URLs from Input
  7. Get Item from List
  8. Set Variable
    Link
  9. URL Encode
  10. If
  11. Get Contents of URL
    https://www.tikwm.com/api/?url=…&hd=1
  12. Get Dictionary Value
  13. Set Variable
    data
  14. Get Dictionary Value
  15. Set Variable
    SlideList
  16. If
  17. Count
  18. Ask for Input
    Slideshow Tiktok Have…Type Slide Number
  19. Set Variable
    SlideNo
  20. If
  21. Number
  22. Set Variable
    SlideNo
  23. If
  24. Set Variable
    SlideNo
  25. Get Item from List
  26. Set Variable
    OneSlide
  27. Get Contents of URL
    …
  28. Save to Photo Album
  29. If
  30. Get Dictionary Value
  31. If
  32. Set Variable
    VideoUrl
  33. If
  34. Get Dictionary Value
  35. Set Variable
    VideoUrl
  36. If
  37. Get Contents of URL
    …
  38. Save to Photo Album
  39. If
  40. If
  41. Get Contents of URL
    https://digitaldialogue.com.au/api/info?url=…
  42. Get Dictionary Value
  43. Get Dictionary Value
  44. Get Contents of URL
    …
  45. Save to Photo Album
  46. If
  47. If
  48. Get Contents of URL
    https://api.fastsaver.io/v1/fetch?url=…
  49. Get Dictionary Value
  50. Get Contents of URL
    …
  51. Save to Photo Album
  52. If
  53. If
  54. Match Text
  55. If
  56. Get Group from Matched Text
  57. Set Variable
    TweetID
  58. Get Contents of URL
    https://api.fxtwitter.com/status/…
  59. Get Dictionary Value
  60. If
  61. Set Variable
    TweetStatus
  62. Get Dictionary Value
  63. Set Variable
    TweetMedia
  64. Get Dictionary Value
  65. If
  66. Get Item from List
  67. Get Dictionary Value
  68. Set Variable
    MediaURL
  69. Get Contents of URL
    …
  70. Save to Photo Album
  71. Show Alert
    TDownload
  72. If
  73. Get Dictionary Value
  74. If
  75. Set Variable
    SlideList
  76. Count
  77. If
  78. Ask for Input
    X has … photos. Type slide number
  79. Set Variable
    SlideNo
  80. Get Item from List
  81. Set Variable
    ChosenPhoto
  82. If
  83. Get Item from List
  84. Set Variable
    ChosenPhoto
  85. Get Dictionary Value
  86. Get Contents of URL
    …
  87. Save to Photo Album
  88. Show Notification
  89. If
  90. Show Alert
  91. If
  92. If
  93. Show Alert
  94. If
  95. If
  96. Text
  97. Get Contents of URL
    https://api.apify.com/v2/actors/hipersoft~threads-downloader/run-sync-get-dataset-items?token=apify_api_NzlbsJr8diZUnCsxVCYfjRTggLta8v0jdCbN
  98. Get Item from List
  99. Get Dictionary Value
  100. Set Variable
    SlideList
  101. Count
  102. If
  103. Ask for Input
    Threads has … media. Type slide number
  104. Set Variable
    SlideNo
  105. Get Item from List
  106. Set Variable
    SelectedURL
  107. If
  108. Get Item from List
  109. Set Variable
    SelectedURL
  110. URL
  111. Get Contents of URL
    …
  112. Save to Photo Album
  113. Show Notification
  114. If

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/sharing'
#define color teal
#define glyph lightningBolt


if ShortcutInput {
	@RawLink = ShortcutInput
} else {
	getClipboard()
	@RawLink
}
const URLs = getURLs(@RawLink)
getFirstItem(URLs)
@Link
urlEncode(@Link)

if @Link contains "tiktok" {
	const ContentsOfURL = downloadURL("https://www.tikwm.com/api/?url={}&hd=1", {})
	@data = ContentsOfURL['data']
	@SlideList = @data['images']
	if @SlideList {
		const Count = count(@SlideList)
		prompt("Slideshow Tiktok Have{Count}Type Slide Number", "Number")
		@SlideNo
		if @SlideNo < 1 {
			@SlideNo = 1
		}
		if @SlideNo > Count {
			@SlideNo = Count
		}
		getListItem(@SlideList, @SlideNo)
		@OneSlide
		const ContentsOfURL1 = downloadURL(@OneSlide)
		savePhoto(ContentsOfURL1)
	} else {
		const DictionaryValue = getValue(@data, "hdplay")
		if DictionaryValue {
			@VideoUrl = DictionaryValue
		} else {
			@VideoUrl = @data['play']
		}
		if @VideoUrl {
			const ContentsOfURL2 = downloadURL(@VideoUrl)
			savePhoto(ContentsOfURL2)
		}
	}
} else {
	if @Link contains "instagram" {
		const ContentsOfURL3 = downloadURL("https://digitaldialogue.com.au/api/info?url={}", {})
		const DictionaryValue1 = getValue(ContentsOfURL3, "direct")
		const ContentsOfURL4 = downloadURL(, {
			"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
		})
		savePhoto(ContentsOfURL4)
	} else {
		if @Link contains "facebook" || @Link contains "fb.watch" || @Link contains "fb.com" {
			const ContentsOfURL5 = downloadURL("https://api.fastsaver.io/v1/fetch?url={}", {
				"X-Api-Key": "fs_sk_3g1m5e5z6l5a0a2w4c9y0y7o2a2e"
			})
			const ContentsOfURL6 = downloadURL()
			savePhoto(ContentsOfURL6)
		} else {
			if @Link contains "x.com" || @Link contains "twitter.com" || @Link contains "t.co" {
				const Matches = containsText(@Link, "/status/([0-9]+)", false)
				if Matches {
					getMatchGroup(Matches, 0)
					@TweetID
					const ContentsOfURL7 = downloadURL("https://api.fxtwitter.com/status/{@TweetID}")
					const DictionaryValue2 = getValue(ContentsOfURL7, "tweet")
					if DictionaryValue2 {
						@TweetStatus = DictionaryValue2
						@TweetMedia = @TweetStatus['media']
						const DictionaryValue3 = getValue(@TweetMedia, "videos")
						if DictionaryValue3 {
							const ItemFromList = getFirstItem(DictionaryValue3)
							@MediaURL = ItemFromList['url']
							const ContentsOfURL8 = downloadURL(@MediaURL, {
								"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15"
							})
							const VideoSaved = savePhoto(ContentsOfURL8)
							alert("( X ) Video saved", "TDownload ")
						} else {
							const DictionaryValue4 = getValue(@TweetMedia, "photos")
							if DictionaryValue4 {
								@SlideList = DictionaryValue4
								const Count1 = count(@SlideList)
								if Count1 > 1 {
									prompt("X has {Count1} photos. Type slide number", "Number")
									@SlideNo
									getListItem(@SlideList, @SlideNo)
									@ChosenPhoto
								} else {
									getFirstItem(@SlideList)
									@ChosenPhoto
								}
								const ContentsOfURL9 = downloadURL()
								const PhotoSaved = savePhoto(ContentsOfURL9)
								showNotification("", "( X ) Photo saved", false)
							} else {
								confirm("No video or photo in this post.")
							}
						}
					} else {
					}
				} else {
					confirm("Link is not valid. Use link that has /status/...")
				}
			} else {
				if @Link contains "threads" {
					const Text = "{\\"postUrls\\":[\\"{@Link}\\"]}"
					const ContentsOfURL10 = fileRequest("https://api.apify.com/v2/actors/hipersoft~threads-downloader/run-sync-get-dataset-items?token=apify_api_NzlbsJr8diZUnCsxVCYfjRTggLta8v0jdCbN", "POST", Text, {
						"Content-Type": "application/json"
					})
					const ItemFromList1 = getListItems(ContentsOfURL10, 0, 0)
					@SlideList = ItemFromList1['downloadUrls']
					const Count2 = count(@SlideList)
					if Count2 > 1 {
						prompt("Threads has {Count2} media. Type slide number", "Number")
						@SlideNo
						getListItem(@SlideList, @SlideNo)
						@SelectedURL
					} else {
						getListItem(@SlideList, 0)
						@SelectedURL
					}
					url(@SelectedURL)
					const ContentsOfURL11 = downloadURL()
					const ThreadsVideoSaved = savePhoto(ContentsOfURL11)
					showNotification("", "( Threads ) Media saved", false)
				} else {
				}
			}
		}
	}
}
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 gnalo

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung