ShareShortcuts

Download Twitter & YouTube

Download from Twitter and YouTube with Quality

yas8p
Bifurcar “Download Twitter & YouTube”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que yas8p reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
62K
Guardado
3
Acciones
45
Categoría
Photos and videos
Versión
1.0
Idioma
EN

Download from Twitter and YouTube with Quality .

YouTube

Twitter

Novedades

Versión 1.0

First release

Historial de versiones
1.0 25 de oct. de 2020

First release

Qué hace

45 acciones
  1. Text
  2. If
  3. Set Variable
    Url
  4. If
  5. Set Variable
    Url
  6. If
  7. Get Contents of URL
    https://downloadtwittervideo.appspot.com
  8. Get URLs from Input
  9. Match Text
  10. Choose from List
  11. Replace Text
  12. Match Text
  13. Text
  14. If
  15. If
  16. Match Text
  17. Dictionary
  18. Repeat with Each
  19. Get Contents of URL
    …
  20. Make HTML from Rich Text
  21. Get URLs from Input
  22. Match Text
  23. Match Text
  24. Match Text
  25. Replace Text
  26. Dictionary
  27. Choose from List
  28. If
  29. Show Notification
    You should copy link from YouTube or Twitter...
  30. Stop This Shortcut
  31. If
  32. Get Contents of URL
    …
  33. Match Text
  34. If
  35. Set Name
  36. Quick Look
  37. Choose from Menu
  38. Choose from Menu
    Save in photos
  39. Save to Photo Album
  40. Choose from Menu
    Save in file
  41. Save File
  42. If
  43. Show Notification
    Something's wrong...
  44. If
  45. Show Notification
    Something's wrong...

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

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


if ShortcutInput {
	@Url = "twitter.Yas8p.com"
} else {
	@Url
}

if @Url contains "twitter" {
	formRequest("https://downloadtwittervideo.appspot.com", "POST", {
		"url": "{@Url}"
	})
	getURLs()
	const TwD = containsText(['Name'], ".*mp4|mp4.*")
	chooseFromList(TwD, "")
	replaceText(" |mp4|,", "", true)
	const VideoTwitter = containsText(, ".*{}.*")
} else {
	if @Url contains "yout" {
		const Id = containsText(@Url, "(?<=(\=|\/))([\w\-]{11})")
		const Dictionary = {
			"d": "www.320youtube.com/v5/watch?v={Id}",
			"g": "www.yt-download.org/api/widget/mp3/{Id}",
			"v": "www.yt-download.org/api/widget/videos/{Id}"
		}
		for _ in Dictionary['Values'] {
			const ContentsOfURL = downloadURL(@RepeatItem)
			makeHTML(ContentsOfURL)
		}
		getURLs(YT)
		containsText(, "[\w\.\/:_]*.(ytapivmp3.*)")
		containsText(, ".*/mp4/.*")
		containsText(, "https://www.yt-download.org/download/{Id}/mp3/320/.*")
		const Name = replaceText("| 320YouTube", "", ['Name'], false)
		const Dictionary1 = {
			"mp3 1": "{}",
			"mp3 2": "{}",
			"mp4 med": "{}"
		}
		chooseFromList(Dictionary1, Name)
	} else {
		showNotification("You should copy link from YouTube or Twitter...", "Twitter:Yas8p", false)
		stop()
	}
}

if url contains "http" {
	const File = downloadURL(url)
	const Matches = containsText(File['File Extension'], "mp4|mp3")
	if Matches {
		const Video = setName(File, Name)
		quicklook(Video)
		menu "" {
		item "Save in photos":
			savePhoto(Video)
		item "Save in file":
			saveFilePrompt(Video)
		}
	} else {
		showNotification("Something's wrong...", "Twitter:Yas8p", false)
	}
} else {
	showNotification("Something's wrong...", "Twitter:yas8p", false)
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de yas8p

Ver todo

También te puede gustar

Ver todo
Publicidad