Scrape Mastodon link

Extracts metadata from a Mastodon status URL for reuse in other shortcuts.

Actions Used

Get Component of URL
Gets the specified part of the URL passed into the action. URLs are structured as follows: scheme://user:password@host:port/path?query#fragment.
Set Variable
Sets the value of the specified variable to the input of this action.
Split Text
Separates text passed into the action into a list.
Get Item from List
Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.
URL
Passes the specified URL to the next action.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Scrape%20Mastodon%20link
Open Shortcut deep link
shortcuts://open-shortcut?name=Scrape%20Mastodon%20link
AppleScript code
tell application “Shortcuts Events” run shortcut “Scrape Mastodon link” end tell

More From This Folder

More From The Library

High alert

Sets the playback destination to the current device, turns off Do Not Disturb and Airplane Mode, turns on Cellular Data, Bluetooth, and Wi-Fi, sets the volume to 85%, the brightness to 100%, and turns on Light mode, then turns on every option for Sound Recognition, then vibrates if run from iPhone when it’s all done.

Get shortcut »

Special characters

Contains a dictionary of names and symbols that, when passed into Choose From List, becomes selectable – for whichever option is chosen, the corresponding symbol will be passed out and copied to the clipboard.

Get shortcut »


Get way deeper into Shortcuts – become a member.