Scrape Mastodon link

Scrape Mastodon link

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

Scripting Actions

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-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
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-url.webp
URL
Passes the specified URL to the next action.
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-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
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-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-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
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-text.webp
Text
Passes the specified text to the next 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-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

Link to Run Shortcut
shortcuts://run-shortcut?name=Scrape%20Mastodon%20link
Link to Open Shortcut
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

Show me tech news

Uses the Show Topic action from News to open into the main Technology news category, which I’ve found is a good superset or generic term that captures all the best stories from tech subjects I’m interested in before I dive into more specific topics.

Get Shortcut »

See my Apple Store bag

Opens the “Bag” checkout page for the Apple Store. Use this shortcut to reopen your Apple Store “cart” and see the subtotal or add or remove items before checking out.

Get Shortcut »

Post media to Threads

Asks you to select media to store on your clipboard, then asks you to enter a post to pass to Threads where you can paste your media. On Mac, gets file from Finder/Services and opens Threads.net.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more