Login About Gallery
YouTube PIP & Downloader
Accepts
App Store Apps, Articles, Contacts, Dates, Email Addresses, Files, Images, iTunes Products, Locations, Map Links, Media, PDFs, Phone Numbers, Rich Text, Safari Web Pages, Text and URLs
COMMENT
YouTube PIP & Downloader By Robric18 Version 1.52
COMMENT
What’s new in version 1.52 - fixed broken title retrieval What’s new in version 1.51 - added dual pip options for if one fails - changed method for opening YouTube in Safari if can’t open video directly. (Using method provided by u/nyuszika7h) What’s new in version 1.4 - Bug fixes - Fixed check for update issue - thanks to @dastefster on RoutineHub for making me aware of the issue What’s new in versions 1.2 & 1.3 - fixed download issues for certain files What’s new in version 1.1? - Added quick PIP setting - Fixed check for update settings so they actually work - Added PIP support for cyphered videos (now opens these video in safari) What’s new in version 1.0? - Rewritten from the bottom up - Now supports the YouTube app
DICTIONARY
<inline variable>
True
VARIABLES
Set variable
CFU
to
Check for Updates
DICTIONARY
<inline variable>
False
VARIABLES
Set variable
Quick PIP
to
Quick PIP
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
SCRIPTING
If
CFU
is
Yes
NETWORK
Get contents of
https://routinehub.co/api/v1/shortcuts/
RHID
/versions/latest
Options Under Construction
SCRIPTING
Get
Value
for
Version
in
Contents of URL
SCRIPTING
If
Dictionary Value
is greater than
Version
LIST
Update
Contents of URL
to version
Name
Don’t Update
TEXT
An update is available for
Name
! What's New in Version
Contents of URL
?
Contents of URL
SCRIPTING
Choose from
List
Prompt
Select Multiple
SCRIPTING
If
Chosen Item
contains
version
URL
routinehub.co/download/
Contents of URL
NETWORK
Get contents of
URL
Options Under Construction
DOCUMENTS
Replace
https://www.icloud.com
with
Shortcuts:/
in
Contents of URL
Case Sensitive
Regular Expression
SAFARI
output Under Construction
End If
End If
End If
SCRIPTING
If
Shortcut Input
does not have any value
SHARING
Get clipboard
Otherwise
TEXT
Shortcut Input
End If
VARIABLES
Set variable
Url
to
If Result
TEXT
Match
\byoutube|\byoutu\.be(?!$)|(?<=v\=).{11}|(?<=youtu\.be\/).{11}|(?<=embed\/).{11}
in
Url
Case Sensitive
SCRIPTING
Get
Last Item
from
Matches
NETWORK
Get contents of
https://noembed.com/embed?url=
Url
Options Under Construction
SCRIPTING
Get
Value
for
title
in
Contents of URL
VARIABLES
Set variable
Video Title
to
Dictionary Value
URL
https://www.youtube.com/get_video_info?video_id=
Item from List
NETWORK
Get contents of
URL
Options Under Construction
SCRIPTING
Get dictionary from
Contents of URL
SCRIPTING
Get
Value
for
player_response
in
Streaming Data
SCRIPTING
Get
Value
for
streamingData
in
Dictionary Value
SCRIPTING
If
Dictionary Value
has any value
SCRIPTING
Get
Value
for
streamingData.formats
in
Dictionary Value
SCRIPTING
Get
Last Item
from
Dictionary Value
SCRIPTING
Get
Value
for
url
in
Item from List
VARIABLES
Set variable
PIP Url
to
Dictionary Value
End If
SCRIPTING
If
Shortcut Input
contains
http
COMMENT
Open in Safari from YouTube app if no link
SCRIPTING
If
PIP Url
does not have any value
DOCUMENTS
Replace
www
with
m
in
Shortcut Input
Case Sensitive
Regular Expression
URL
data:text/html,<meta http-equiv="Refresh" content="0; url=
Updated Text
" />
SCRIPTING
Show alert
This video must be opened in Safari for PIP and Downloading
Title
This video must be opened in Safari for PIP and Downloading
Show Cancel Button
SHARING
Copy
URL
to clipboard
Local Only
Expire At
Today at 3 pm
SAFARI
Open
URL
SCRIPTING
Exit shortcut with
Result
End If
End If
SCRIPTING
If
PIP Url
does not have any value
SAFARI
Run JavaScript on
Shortcut Input
Options Under Construction
TEXT
Split
Text
by
New Lines
FILES
Sort by
Name
Order
A to Z
Limit
TEXT
Combine
Files
with
New Lines
DOCUMENTS
Replace
(.*)(\r?\n\1)+
with
$1
in
Combined Text
Case Sensitive
Regular Expression
VARIABLES
Set variable
PIP Url
to
Updated Text
End If
SCRIPTING
If
Quick PIP
is
Yes
TEXT
PIP
Otherwise
LIST
PIP
Save Video
Save Audio
SCRIPTING
Choose from
List
Prompt
What do you want to do with the video:
Video Title
?
Select Multiple
End If
VARIABLES
Set variable
Choice
to
If Result
SCRIPTING
If
Choice
contains
PIP
SCRIPTING
Get the
Device Model
SCRIPTING
If
Device Model
is
iPad
NOTIFICATIONS
Show notification
Input
Options Under Construction
Otherwise
SAFARI
Open
PIP Url
NOTIFICATIONS
Show notification
Input
Options Under Construction
End If
SCRIPTING
Exit shortcut with
Result
Otherwise
NOTIFICATIONS
Show notification
Chosen Item
Options Under Construction
NETWORK
Get contents of
PIP Url
Options Under Construction
SCRIPTING
Set name of
Contents of URL
to
Contents of URL
.
Video Title
VARIABLES
Set variable
Downloaded Video
to
Renamed Item
SCRIPTING
If
Chosen Item
contains
Audio
MEDIA
Encode
Downloaded Video
Options Under Construction
VARIABLES
Set variable
Downloaded Video
to
Encoded Media
TEXT
and converted to an audio file
VARIABLES
Set variable
Audio
to
Text
End If
LIST
Yes
No
SCRIPTING
Choose from
List
Prompt
Audio
Downloaded
Video Title
. Do you want to preview it before saving?
Select Multiple
SCRIPTING
If
Chosen Item
is
Yes
DOCUMENTS
Show
Downloaded Video
in Quick Look
End If
LIST
Save to Files
Save to Photos
Trim Before Saving
SCRIPTING
Choose from
List
Prompt
What do you want to do with
Video Title
?
Select Multiple
VARIABLES
Set variable
Save choice
to
Chosen Item

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 14 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

14 more actions