ShareShortcuts

Download

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

shortcutmaster
„Download“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit shortcutmaster die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
68K
Gesichert
4
Aktionen
29
Kategorie
Photos and videos
Version
1.0
Sprache
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!

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 15. Sep 2019

First release

Was er macht

29 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von shortcutmaster

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung