ShareShortcuts
Fazer fork de “ShortDownload”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que solmaker receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
68K
Salvo
2
Ações
189
Categoria
Social Network
Versão
1.0
Idioma
EN

Pré-visualização

With My Shortcut Say Bye To And Download Tool And Say Hello to ShortDownload Maked By SolMaker 📱

You Can Download Video Or Photo By My Shortcut

Novidades

Versão 1.0

First release

Histórico de versões
1.0 4 de set de 2019

First release

O que ele faz

189 ações
  1. Show Alert
    📱ShortDownload📱
  2. Choose from Menu
    I will download from:
  3. Choose from Menu
    Youtube
  4. If
  5. Get Component of URL
  6. Get Dictionary from Input
  7. Get Dictionary Value
  8. Set Variable
    VideoKey
  9. If
  10. If
  11. Get Component of URL
  12. Split Text
  13. Set Variable
    VideoKey
  14. If
  15. Get Clipboard
  16. Expand URL
  17. If
  18. Get Component of URL
  19. Get Dictionary from Input
  20. Get Dictionary Value
  21. Set Variable
    VideoKey
  22. If
  23. If
  24. Get Component of URL
  25. Split Text
  26. Set Variable
    VideoKey
  27. If
  28. Show Alert
    This doesn't look like a YouTube URL.
  29. Stop This Shortcut
  30. URL
    http://youtube.com/get_video_info?video_id=…&el=detailpage&ps=default&eurl=&gl=US&hl=en
  31. Get Contents of URL
    …
  32. Get Dictionary Value
  33. Split Text
  34. Repeat with Each
  35. Get Dictionary from Input
  36. Set Variable
    Stream Dictionaries
  37. List
  38. Repeat with Each
  39. Set Variable
    Video Format
  40. Repeat with Each
  41. Set Variable
    Stream Dictionary
  42. Get Dictionary Value
  43. If
  44. Get Dictionary Value
  45. Add to Variable
  46. If
  47. Nothing
  48. Get Variable
  49. Choose from Menu
    Choose Quality
  50. Choose from Menu
    720p
  51. Get Item from List
  52. Choose from Menu
    360p
  53. Get Item from List
  54. Choose from Menu
    240p
  55. Get Item from List
  56. Choose from Menu
    Audio
  57. Choose from Menu
    Choose Audio Quality
  58. Choose from Menu
    720p
  59. Get Item from List
  60. Get Contents of URL
    …
  61. Encode Media
  62. Set Name
  63. Choose from Menu
  64. Choose from Menu
    Save
  65. Create Note
  66. Stop This Shortcut
  67. Choose from Menu
    Open in...
  68. Open File
  69. Stop This Shortcut
  70. Choose from Menu
    360p
  71. Get Item from List
  72. Get Contents of URL
    …
  73. Encode Media
  74. Set Name
  75. Choose from Menu
  76. Choose from Menu
    Save
  77. Create Note
  78. Stop This Shortcut
  79. Choose from Menu
    Open in...
  80. Open File
  81. Stop This Shortcut
  82. Choose from Menu
    240p
  83. Get Item from List
  84. Get Contents of URL
    …
  85. Encode Media
  86. Set Name
  87. Choose from Menu
  88. Choose from Menu
    Save
  89. Create Note
  90. Stop This Shortcut
  91. Choose from Menu
    Open in...
  92. Open File
  93. Stop This Shortcut
  94. Get Contents of URL
    …
  95. Save to Photo Album
  96. Show Notification
    Check your Camera Roll 🔮!
  97. Stop This Shortcut
  98. Choose from Menu
    Facebook
  99. If
  100. If
  101. Get Clipboard
  102. If
  103. If
  104. Show Alert
    It doesn't look like a Facebook URL in your clipboard.
  105. Stop This Shortcut
  106. Get Contents of URL
    …
  107. Make HTML from Rich Text
  108. Set Variable
    source
  109. Choose from Menu
    Choose Quality
  110. Choose from Menu
    HD
  111. Text
  112. Choose from Menu
    SD
  113. Text
  114. Set Variable
    format
  115. Match Text
  116. Match Text
  117. Get Contents of URL
    …
  118. Save to Photo Album
  119. Show Notification
    Check your Camera Roll 🔮!
  120. Stop This Shortcut
  121. Choose from Menu
    Twitter
  122. If
  123. If
  124. Get Clipboard
  125. Expand URL
  126. Choose from Menu
    Choose Quality
  127. Choose from Menu
    HD
  128. Text
  129. Choose from Menu
    HQ
  130. Text
  131. Choose from Menu
    SD
  132. Text
  133. Get Contents of URL
    …
  134. Replace Text
  135. Get Dictionary from Input
  136. Get Dictionary Value
  137. Add to Variable
  138. If
  139. If
  140. Show Alert
    Failed
  141. Stop This Shortcut
  142. Get Contents of URL
    …
  143. Save to Photo Album
  144. Show Notification
    Check your Camera Roll 🔮!
  145. Stop This Shortcut
  146. Choose from Menu
    Dailymotion
  147. Get Clipboard
  148. If
  149. Choose from Menu
  150. Choose from Menu
    HD
  151. Text
  152. Choose from Menu
    HQ
  153. Text
  154. Choose from Menu
    SD
  155. Text
  156. Get Contents of URL
    …
  157. Replace Text
  158. Get Dictionary from Input
  159. Get Dictionary Value
  160. Add to Variable
  161. If
  162. If
  163. Show Alert
    Failed
  164. Stop This Shortcut
  165. Get Contents of URL
    …
  166. Save to Photo Album
  167. Show Notification
    Check your Camera Roll 🔮!
  168. If
  169. Stop This Shortcut
  170. Choose from Menu
    Instagram ( Video & Photo )
  171. If
  172. Get URLs from Input
  173. If
  174. Get Clipboard
  175. Get Contents of URL
    …
  176. Make HTML from Rich Text
  177. Set Variable
    page
  178. Match Text
  179. Get Item from List
  180. Set Variable
    photo
  181. Match Text
  182. Get Item from List
  183. If
  184. If
  185. Get Variable
  186. Get Contents of URL
    …
  187. Save to Photo Album
  188. Show Notification
    Check your Camera Roll 🔮!
  189. Stop This Shortcut

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#include 'actions/web'
#define color purple
#define glyph downloadArrow

alert("This Shortcut Is Makes You Download From The Supported Sites The Shortcut Maked By Sol Maker\nSupported sites:\nYoutube\nFacebook\nTwitter\nDailymotion\nInstagram\n\n⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️⛔️", "📱ShortDownload📱")

menu "I will download from:" {
item "Youtube":
	if ShortcutInput contains "youtube.com" {
		const URL = getURLDetail(ShortcutInput, "Query")
		const  = getDictionary(URL)
		@VideoKey = ['v']
	} else {
		if ShortcutInput contains "youtu.be" {
			const URL1 = getURLDetail(ShortcutInput, "Path")
			splitText(URL1, "/")
			@VideoKey
		} else {
			getClipboard()
			const URL2 = expandURL()
			if URL2 contains "youtube.com" {
				const URL3 = getURLDetail(URL2, "Query")
				const 1 = getDictionary(URL3)
				@VideoKey = 1['v']
			} else {
				if URL2 contains "youtu.be" {
					const URL4 = getURLDetail(URL2, "Path")
					splitText(URL4, "/")
					@VideoKey
				} else {
					alert("Do you want to continue?\n(URL:{URL2})", "This doesn't look like a YouTube URL.")
					stop()
				}
			}
		}
	}
	url("http://youtube.com/get_video_info?video_id={@VideoKey}&el=detailpage&ps=default&eurl=&gl=US&hl=en")
	const URL5 = downloadURL()
	const 2 = getValue(URL5, "url_encoded_fmt_stream_map")
	const 3 = splitText(2, ",")
	for _ in 3 {
		getDictionary(@RepeatItem)
	}
	@StreamDictionaries
	const 4 = list("22", "43", "18", "36", "17")
	for _ in 4 {
		@VideoFormat = @RepeatItem
		for _ in @StreamDictionaries {
			@StreamDictionary = @RepeatItem2
			const 5 = getValue(@StreamDictionary, "itag")
			if 5 contains @VideoFormat {
				@URLs += @StreamDictionary['url']
			} else {
				nothing()
			}
		}
	}
	// TODO: Get Variable not supported: Assign variable here to '@URLs'.
	menu "Choose Quality" {
	item "720p":
		getListItem(@URLs, 1)
	item "360p":
		getListItem(@URLs, 3)
	item "240p":
		getListItem(@URLs, 4)
	item "Audio":
		menu "Choose Audio Quality" {
		item "720p":
			getListItem(@URLs, 1)
			const URL6 = downloadURL()
			const 6 = encodeAudio(URL6, "MP3")
			const 7 = setName(6, Ask)
			menu nil {
			item "Save":
				rawAction("com.apple.mobilenotes.SharingExtension", {
					"WFCreateNoteInput": "{7}"
				})
				stop()
			item "Open in...":
				openFile(7)
				stop()
			}
		item "360p":
			getListItem(@URLs, 3)
			const URL7 = downloadURL()
			const 8 = encodeAudio(URL7, "MP3")
			const 9 = setName(8, Ask)
			menu nil {
			item "Save":
				rawAction("com.apple.mobilenotes.SharingExtension", {
					"WFCreateNoteInput": "{9}"
				})
				stop()
			item "Open in...":
				openFile(9)
				stop()
			}
		item "240p":
			getListItem(@URLs, 4)
			const URL8 = downloadURL()
			const 10 = encodeAudio(URL8, "MP3")
			const 11 = setName(10, Ask)
			menu nil {
			item "Save":
				rawAction("com.apple.mobilenotes.SharingExtension", {
					"WFCreateNoteInput": "{11}"
				})
				stop()
			item "Open in...":
				openFile(11)
				stop()
			}
		}
	}
	const URL9 = downloadURL()
	const 12 = savePhoto(URL9)
	showNotification("Check your Camera Roll 🔮!", "Saved ✅", 12)
	stop()
item "Facebook":
	if ShortcutInput contains "facebook.com" {
	} else {
		const 13 = getClipboard()
		if 13 contains "facebook.com" {
		} else {
			alert("Are you sure you want to continue?", "It doesn't look like a Facebook URL in your clipboard.")
			stop()
		}
	}
	const URL10 = downloadURL()
	makeHTML(URL10)
	@source
	menu "Choose Quality" {
	item "HD":
	item "SD":
	}
	@format = "sd_src_no_ratelimit:"
	containsText(@source, "{@format}([\"'])(\\?.)*?\1", false)
	containsText(, "([\"'])(\\?.)*?\1", false)
	const URL11 = downloadURL()
	const 14 = savePhoto(URL11)
	showNotification("Check your Camera Roll 🔮!", "Saved ✅", 14)
	stop()
item "Twitter":
	if ShortcutInput contains ShortcutInput {
	} else {
		getClipboard()
		expandURL()
	}
	menu "Choose Quality" {
	item "HD":
	item "HQ":
	item "SD":
	}
	downloadURL(, {
		"DNT": "1",
		"Host": "server14.youtubebyclick.com",
		"Origin": "http://www.downloadtwittervideo.com",
		"Referer": "http://www.downloadtwittervideo.com/zh"
	})
	const 15 = replaceText("\", "", false)
	const 16 = getDictionary(15)
	@FlvUrl += 16['FlvUrl']
	if @FlvUrl contains ".com" {
	} else {
		alert("• Unknown Error •\n\nTell me in Twitter: @Wirexia9", "Failed")
		stop()
	}
	const URL12 = downloadURL(@FlvUrl)
	const 17 = savePhoto(URL12)
	showNotification("Check your Camera Roll 🔮!", "Saved ✅", 17)
	stop()
item "Dailymotion":
	const 18 = getClipboard()
	if 18 contains "dailymotion.com" {
		menu nil {
		item "HD":
		item "HQ":
		item "SD":
		}
		downloadURL(, {
			"DNT": "1",
			"Host": "server14.youtubebyclick.com",
			"Origin": "https://downloadtwittervideo.com",
			"Referer": "https://downloadtwittervideo.com/zh"
		})
		const 19 = replaceText("\", "", false)
		const 20 = getDictionary(19)
		@FlvUrl += 20['FlvUrl']
		if @FlvUrl contains ".com" {
		} else {
			alert("• Unknown Error •\n\nTell me in Twitter: @Wirexia9", "Failed")
			stop()
		}
		const URL13 = downloadURL(@FlvUrl)
		const 21 = savePhoto(URL13)
		showNotification("Check your Camera Roll 🔮!", "Saved ✅", 21)
	} else {
	}
	stop()
item "Instagram ( Video & Photo )":
	if ShortcutInput contains "http" {
		getURLs(ShortcutInput)
	} else {
		getClipboard()
	}
	const URL14 = downloadURL()
	makeHTML(URL14)
	@page
	const 23 = containsText(@page, "http(s?):(.+?)\.jpg", false)
	getListItems(23, 0, 0)
	@photo
	const 24 = containsText(@page, "http(s?):(.+?)\.mp4")
	const 25 = getLastItem(24)
	if 25 contains "mp4" {
	} else {
		// TODO: Get Variable not supported: Assign variable here to '@photo'.
	}
	const URL15 = downloadURL()
	const 26 = savePhoto(URL15)
	showNotification("Check your Camera Roll 🔮!", "Saved ✅", 26)
	stop()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de solmaker

Ver tudo

Você também pode gostar

Ver tudo
Publicidade