ShareShortcuts

X Ripper

A shortcut to download videos and images from X/Twitter

chrunos
Fork “X Ripper”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so chrunos gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
64K
Saved
5
Actions
28
Category
Photos and videos
Version
1.0
Language
EN

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

What's New

Version 1.0

First release

Version History
1.0 Jan 11, 2025

First release

What it does

28 actions
  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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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":
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by chrunos

See All

You Might Also Like

See All
Advertisement