Grab YouTube playlist ID

For a given YouTube video passed in as input, this isolates the URL parameter after “list=“ that represents a video playlist ID.

Scripting Actions

shortcuts-action-icon-get-urls-from-input.webp
Get URLs from Input
Returns any links found in the output from the previous action.
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-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-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-stop-this-shortcut.webp
Stop shortcut
Stops execution of the current shortcut and dismisses the shortcut on screen. No more actions will be run after this action.
shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Grab%20YouTube%20playlist%20ID
Link to Open Shortcut
shortcuts://open-shortcut?name=Grab%20YouTube%20playlist%20ID
AppleScript code
tell application “Shortcuts Events” run shortcut “Grab YouTube playlist ID” end tell

More From This Folder

Open work YouTube playlists

If you don’t want the Grab YouTube playlist ID shortcut installed, delete the Run Shortcut action above and the URL action below.

However, the shortcut won’t work with links from videos inside playlists anymore.

Get Shortcut »

More From The Library

Open the AI Image Generator from Meta AI

Opens the URL for the AI Image Generator from Meta AI where you change options like aspect ratio or aesthetics along with your prompt. Capabilities listed include “Create images,” “Create an image of yourself,” “Edit images,” “Restyle images,” “Animate images,” and “Analyze images.”

Get Shortcut »

Show my podcast subscribers

Opens to the Subscribers tab of the Transistor website for your podcast where you can see total listeners, how many remaining you have in your plan, manage subscribers, and share an invite link.

Get Shortcut »

Buy Again on Amazon

Opens the Amazon app to the Buy Again section where you can repurchase past orders, check Subscribe and Save options, and filter by Deals, Favorite Reorders, and “Get it with fast delivery.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more