Scrape Mastodon link

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

Actions Used

shortcuts-action-icon-get-dictionary-from-input.webp
Get Dictionary from Input
Makes a dictionary from the text passed as input. JSON (like {“foo”: “bar”}), key-value pairs (like foo=bar&baz=biz), and XML-based plist are supported.
shortcuts-action-icon-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
shortcuts-action-icon-dictionary.webp
Dictionary
Passes the specified list of key-value pairs to the next action as a dictionary.
shortcuts-action-icon-get-contents-of-url.webp
Get Contents of URL
Gets the contents of URLs passed into the action. Useful for downloading files and web content, or for making API requests. Includes GET, POST, PUT, PATCH, DELETE methods, and options to add headers. To make a multipart HTTP request, choose “Form” as the request body type and add files as field values.
shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-url.webp
URL
Passes the specified URL to the next action.
shortcuts-action-icon-get-component-of-url.webp
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.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-make-rich-text-from-html.webp
Make Rich Text from HTML
Takes the inputted HTML and turns it into rich text, which can then be converted to other formats.
shortcuts-action-icon-make-markdown-from-rich-text.webp
Make Markdown from Rich Text
Converts the rich text passed as input to Markdown text (comparable to Aaron Swartz’s html2text script).
shortcuts-action-icon-get-item-from-list.webp
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.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this 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

Monitor The Office

Activates Sound Recognition and listens for fire alarms, sirens, smoke alarms, glass breaking, and shouting – anything you’d definitely want to know about in a work environment.

Get Shortcut »

Open the App Store

Opens deep links into App Store tabs – Today, Apps, Games, Arcade, Search, and Updates on iOS and Discover, Arcade, Create, Work, Play, Develop, Categories, and Search on macOS.

Get Shortcut »


Get way deeper into Shortcuts – become a member.