Convert YouTube chapters to linked list

Takes a YouTube video and your provided chapter marker text, splits out the timecodes and converts them to total seconds, then formats individual links for each chapter in Markdown formatting.

Actions

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.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.
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-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-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-run-shortcut.webp
Run Shortcut
Run an shortcut from your shortcut.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
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.

Related Posts

How to quickly link all your YouTube chapter markers using Shortcuts
If you publish YouTube videos or livestreams with chapter markers, you might want to link back to those moments – here's how to generate the full list using Apple's Shortcuts app.

More From This Folder

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Convert%20YouTube%20chapters%20to%20linked%20list
Link to Open Shortcut
shortcuts://open-shortcut?name=Convert%20YouTube%20chapters%20to%20linked%20list
AppleScript code
tell application “Shortcuts Events” run shortcut “Convert YouTube chapters to linked list” end tell

More From The Library

Open Hearing Devices preferences

Opens the deep link into Settings > Accessibility > Hearing Devices where you can pair Made for iPhone hearing aids and sound processors, plus toggle Hearing Aid Compatibility to improve audio quality on some devi

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more