ShareShortcuts

Download

JUST TO MAKE IT CLEAR THIS WAS NOT MADE BY ME!

shortcutmaster
Dupliquer « Download »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que shortcutmaster soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
68K
Enregistré
4
Actions
29
Catégorie
Photos and videos
Version
1.0
Langue
EN

JUST TO MAKE IT CLEAR THIS WAS NOT MADE BY ME! THIS IS A REPOST TO SHARESHORTCUTS.COM!


  1. Install youtube videos by clicking more and tapping this!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 15 sept. 2019

First release

Ce qu’il fait

29 actions
  1. If
  2. If
  3. Get Component of URL
  4. Get Dictionary from Input
  5. Get Dictionary Value
  6. URL
    http://youtube.com/get_video_info?video_id=…&el=detailpage&ps=default&url=&gl=US&hl=en
  7. Get Contents of URL
    …
  8. Get Dictionary Value
  9. Split Text
  10. Repeat with Each
  11. Get Dictionary from Input
  12. Set Variable
    Stream Dictionaries
  13. List
  14. Repeat with Each
  15. Set Variable
    Video Format
  16. Repeat with Each
  17. Set Variable
    Stream Dictionary
  18. Get Dictionary Value
  19. If
  20. Get Dictionary Value
  21. If
  22. Nothing
  23. Get Contents of URL
    …
  24. Get Item from List
  25. Choose from Menu
  26. Choose from Menu
    Share
  27. Share
  28. Choose from Menu
    Save to photo album
  29. Save to Photo Album

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#define color red
#define glyph videoIcon


if ShortcutInput contains "youtube.com" {
} else {
}
const ComponentOfURL = getURLDetail(, "Query")
const Dictionary = getDictionary(ComponentOfURL)
url("http://youtube.com/get_video_info?video_id={}&el=detailpage&ps=default&url=&gl=US&hl=en")
const ContentsOfURL = downloadURL()
const DictionaryValue = getValue(ContentsOfURL, "url_encoded_fmt_stream_map")
const SplitText = splitText(DictionaryValue, ",")

for _ in SplitText {
	getDictionary(@RepeatItem)
}
@StreamDictionaries
const List = list("22", "18", "34", "35")

for _ in List {
	@VideoFormat = @RepeatItem
	for _ in @StreamDictionaries {
		@StreamDictionary = @RepeatItem2
		const DictionaryValue1 = getValue(@StreamDictionary, "itag")
		if DictionaryValue1 contains @VideoFormat {
		} else {
		}
	}
}
const ContentsOfURL1 = downloadURL()
const ItemFromList = getListItem(ContentsOfURL1)

menu nil {
item "Share":
	share(ItemFromList)
item "Save to photo album":
	savePhoto(ItemFromList)
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de shortcutmaster

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité