Get Youtube Channel ID

For a given YouTube channel URL, isolates the channel ID using Match Text.

Actions Used

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-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-expand-url.webp
Expand URL
This action expands and cleans up URLs which have been shortened using a URL shortening service like t.co or bit.ly. The expanded URL is cleaned, removing unnecessary parameters such as “utm_source”.
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-match-text.webp
Match Text
Searches text passed into the action for matches to a regular expression.
shortcuts-action-icon-make-html-from-rich-text.webp
Make HTML from Rich Text
Converts the rich text passed as input to HTML text.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.
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=Get%20Youtube%20Channel%20ID
Open Shortcut deep link
shortcuts://open-shortcut?name=Get%20Youtube%20Channel%20ID
AppleScript code
tell application “Shortcuts Events” run shortcut “Get Youtube Channel ID” end tell

More From This Folder

More From The Library

Calculate tip

Asks you to enter in the bill, then the percentage to tip, then calculates the tip total plus total cost and presents it back to you.

Get Shortcut »


Get way deeper into Shortcuts – become a member.