Extract link from Apple News URL

Scrapes the original URL from a given apple.news link by loading the redirect and pulling the first link off the page.

Scripting Actions

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-urls-from-input.webp
Get URLs from Input
Returns any links found in the output from the previous action.
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-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
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=Extract%20link%20from%20Apple%20News%20URL
Link to Open Shortcut
shortcuts://open-shortcut?name=Extract%20link%20from%20Apple%20News%20URL
AppleScript code
tell application “Shortcuts Events” run shortcut “Extract link from Apple News URL” end tell

More From This Folder

Show my saved stories

Opens into the Saved Stories tab of the News app, where you can quickly access news stories you’ve saved for later – I’ll often save multiple stories as I browse, then visit this tab to read them all one-by-one.

Get Shortcut »

Open Emoji Game in Apple News+

Opens the deep link into Apple News+ for the Emoji game. Here’s how Apple describes it:

“The object of this logic and word puzzle is to complete several phrases with as few moves as possible. Each emoji may be interpreted directly, through association, or in combination with other emoji. When you attempt an answer or expand a clue, it counts as a move.”

Get Shortcut »

Show Today’s top stories

Opens the News app and switches to the Today tab, showing you Top Stories, Trending Stories, For You categories, magazines, the Editor’s pick, and curated categories based on your past browsing.

Get Shortcut »

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 »

More From The Library

YouTube on TV

Opens the YouTube app on the chosen Apple TV, then opens the YouTube app on your mobile device – this lets you connect the two and manage your TV queue from your phone or iPad.

Get Shortcut »

Get podcast show slug

Accesses the Transistor API to retrieve your account data, looks at first show, then retrieves the slug from its attributes – copy it and paste it into your other shortcuts.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more