ShareShortcuts

TDownload v2.1

Hey everyone!

gnalo
Создать форк «TDownload v2.1»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы gnalo получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
5K
Сохранено
3
Действия
114
Категория
Utilities
Версия
1.5
Язык
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

Что нового

Версия 1.5

Fixing bugs of the API-Key

История версий
1.5 17 окт 2026 г.

Fixing bugs of the API-Key

1.4 15 окт 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 окт 2026 г.

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

1.2 3 окт 2026 г.

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

1.1 30 сен 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 сен 2026 г.

First release

Что делает

Действий: 114
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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 = getFirstItem(ContentsOfURL10)
					@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 {
						getFirstItem(@SlideList)
						@SelectedURL
					}
					url(@SelectedURL)
					const ContentsOfURL11 = downloadURL()
					const ThreadsVideoSaved = savePhoto(ContentsOfURL11)
					showNotification("", "( Threads ) Media saved", false)
				} else {
				}
			}
		}
	}
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от gnalo

См. все

Вам также может понравиться

См. все
Реклама