Scrape session titles

For a given list of Apple Developer session URLs, this will iterate through each, grabbing the name of the webpage, cleaning it up, and reformatting it into a Markdown list before copying that to your clipboard.

Actions Used

shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-contents-of-web-page.webp
Get Contents of Web Page
Extracts the contents of the web pages passed into the action.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-get-group-from-matched-text.webp
Get Group from Matched Text
Gets the text that matched a particular capture group or all of the capture groups from the output of a Match Text action.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
shortcuts-action-icon-match-text.webp
Match Text
Searches text passed into the action for matches to a regular expression.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-get-text-from-input.webp
Get Text from Input
Returns text from the previous action’s output. For example, this action can get the name of a photo or song, or the text of a web page.
shortcuts-action-icon-nothing.webp
Nothing
This action does nothing and produces no output. It is useful to separate blocks of actions, or to ensure that no input is passed to the next action.

Extra Details

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

More From This Folder

More From The Library

Show My Sports news

Opens to the “Sports” tab in the News app where you can see live games and stories from your favorite teams. If on iPhone and iPad, you can open links directly to games in the TV app.

Get Shortcut »


Get way deeper into Shortcuts – become a member.