ShareShortcuts

X Ripper

A shortcut to download videos and images from X/Twitter

chrunos
„X Ripper“ 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 chrunos 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
64K
Gesichert
5
Aktionen
28
Kategorie
Photos and videos
Version
1.0
Sprache
EN

A shortcut to download videos and images from X/Twitter. It supports NSFW Tweet, but not private Tweet.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 11. Jan 2025

First release

Was er macht

28 Aktionen
  1. Get Contents of URL
    https://raw.githubusercontent.com/CodyChrunos/Shortcuts/refs/heads/main/x-ripper.json
  2. Set Variable
    Update
  3. Text
  4. If
  5. Show Notification
    A new version is available! Open your browser to get it.
  6. Open URLs
  7. Stop This Shortcut
  8. If
  9. Get Contents of URL
    …
  10. Get Dictionary from Input
  11. Get Dictionary Value
  12. If
  13. Repeat with Each
  14. Get Dictionary Value
  15. Get Contents of URL
    …
  16. Save to Photo Album
  17. If
  18. Get Dictionary Value
  19. Get Contents of URL
    …
  20. Save to Photo Album
  21. Choose from Menu
    Saved!
  22. Choose from Menu
    View All
  23. Quick Look
  24. Choose from Menu
    Get More Useful Shortcuts
  25. Open URLs
  26. Choose from Menu
    Get Help on Telegram
  27. Open URLs
  28. Choose from Menu
    Exit

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 darkorange

downloadURL("https://raw.githubusercontent.com/CodyChrunos/Shortcuts/refs/heads/main/x-ripper.json")
@Update
const Text = "1.0"

if Text != @Update['version'] {
	showNotification("A new version is available! Open your browser to get it.", Text)
	openURL(@Update)
	stop()
} else {
	const ContentsOfURL = jsonRequest(@Update['api'], "POST", {
		"url": "{ShortcutInput}"
	}, {
		"Accept": "application/json",
		"Content-Type": "application/json"
	})
	const Dictionary = getDictionary(ContentsOfURL)
	const DictionaryValue = getValue(Dictionary, "picker")
	if DictionaryValue {
		for _ in DictionaryValue {
			const ContentsOfURL1 = downloadURL()
			savePhoto(ContentsOfURL1)
		}
	} else {
		const ContentsOfURL2 = downloadURL()
		savePhoto(ContentsOfURL2)
	}
	menu "Saved!" {
	item "View All":
		quicklook(IfResult)
	item "Get More Useful Shortcuts":
		openURL("https://chrunos.com/category/shortcuts/")
	item "Get Help on Telegram":
		openURL("https://t.me/chrunoss")
	item "Exit":
	}
}
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 chrunos

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung