This Shortcut emulates Google's "I'm Feeling Lucky" search, where only the first URL in a search result is automatically opened.
What's New
Version 1.0
First release
What it does
9 actions-
Ask for InputFeeling lucky?
-
URL Encode
-
Text
-
Get Contents of URL
-
Make HTML from Rich Text
-
Match Text
-
Get Group from Matched Text
-
Get Item from List
-
Open URLs
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'
#define color blue
#define glyph magnifyingGlass
prompt("Feeling lucky?")
urlEncode("")
downloadURL("")
makeHTML("")
matchText("class=\\"r\\"><a href=\\"\/url\?q=([^&]+)", "")
getMatchGroup(nil, 0)
getLastItem(nil)
openURL("")
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 brihar73
You Might Also Like
Advertisement