ShareShortcuts

Download

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

shortcutmaster
Fazer fork de “Download”

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 shortcutmaster 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
4
Ações
29
Categoria
Photos and videos
Versão
1.0
Idioma
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!

Novidades

Versão 1.0

First release

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

First release

O que ele faz

29 ações
  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

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 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)
}
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 shortcutmaster

Ver tudo

Você também pode gostar

Ver tudo
Publicidade