Scan with your iPhone to install
Download any video from X
What's New
Version 1.0
First release
What it does
10 actions-
If
-
Ask for InputInserisci X URL:
-
Set Variablexurl
-
If
-
Set Variablexurl
-
If
-
Replace Text
-
Open URLs
-
If
-
Stop This Shortcut
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/text'
#define color darkblue
#define glyph downloadArrow
if !ShortcutInput {
prompt("Inserisci X URL:", "URL")
@xurl
} else {
@xurl = ShortcutInput
}
if @xurl contains "x.com" {
const UpdatedText = replaceText("x.com", "twittervid.com", @xurl)
openURL(UpdatedText)
} else {
stop()
}
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 huchukato
You Might Also Like
Advertisement