Spotify To MP3 2.1
SCRIPTING
If
Shortcut Input
has any value
WEB
Get URLs from
Shortcut Input

URLs
SCRIPTING
Otherwise
SHARING
Get clipboard

Clipboard
SCRIPTING
End If

If Result
URL
https://spotifymate.com

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
DOCUMENTS
Make HTML from
Contents of URL

HTML from Rich Text
TEXT
Match
name="([^"]+)"\s+.+value="([^"]+)"
in
HTML from Rich Text

Matches
DOCUMENTS
Show
Matches
in Quick Look
TEXT
Get
Group At Index
1
in
Matches

Text
DOCUMENTS
Show
Text
in Quick Look
TEXT
Get
Group At Index
2
in
Matches

Text
URL
https://spotifymate.com/action

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
DOCUMENTS
Get text from
Contents of URL

Text
TEXT
Split
Text
by
New Lines

Split Text
DOCUMENTS
Show
Split Text
in Quick Look
SCRIPTING
Get
Item At Index
2
from
Split Text

Item from List
SCRIPTING
Get
Item At Index
3
from
Split Text

Item from List
TEXT
Item from List
-
Item from List

Text
WEB
Get URLs from
Contents of URL

URLs
SCRIPTING
Repeat with each item in
URLs

Repeat Results
SCRIPTING
Get name of
Repeat Item

Name
SCRIPTING
If
Name
contains
Mp3
WEB
Get URLs from
Repeat Item

URLs
SCRIPTING
Otherwise
NOTHING
Nothing
SCRIPTING
End If

If Result
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
Get
First Item
from
Repeat Results

Item from List
NETWORK
Get contents of
Item from List
Options Under Construction

Contents of URL
SCRIPTING
Set name of
Contents of URL
to
Text

Renamed Item
DOCUMENTS

Saved File
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Get Spotify Downloader HQ Shortcut

Menu Result
URL
https://tecuts.com/spotify-to-mp3-shortcuts/

URL
SAFARI
Open
URL
SCRIPTING
Contact the author

Menu Result
URL
https://chrunos.com/contact-us/

URL
SAFARI
Open
URL
SCRIPTING
Get more useful shortcuts

Menu Result
URL
https://chrunos.com/top-siri-shortcuts/

URL
SAFARI
Open
URL
SCRIPTING
Exit

Menu Result
SCRIPTING
End Menu

Menu Result
Showcuts