VARIABLES
Set variable
URL
to
Shortcut Input
COMMENT
Welcome to TVDL v4.1.0 Beta 1
Shortcut developed by Saif Al Falah
Website: tvdl.app
Twitter: @saifalfalah
Reddit: u/freelancedev_
Thank you for using this shortcut. ๐
NETWORK
Get contents of
https://bzu6y4ofgb.execute-api.us-west-1.amazonaws.com/Prod/video
Options Under Construction

Contents of URL
VARIABLES
Add
Contents of URL
to
Response
SCRIPTING
If
Response
has any value
SCRIPTING
Get
Value
for
e.d
in
Response

Dictionary Value
SCRIPTING
If
Dictionary Value
is
<value>
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Response (e.y)

Menu Result
SAFARI
Open
Response
SCRIPTING
Exit shortcut with
Result
SCRIPTING
Response (e.n)

Menu Result
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End Menu

Menu Result
SCRIPTING
Otherwise
SCRIPTING
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
VARIABLES
Set variable
d
to
Response
VARIABLES
Set variable
i
to
Response
VARIABLES
Set variable
n
to
Response
SCRIPTING
Repeat with each item in
i

Repeat Results
SCRIPTING
Get
Value
for
y
in
Repeat Item

Dictionary Value
SCRIPTING
If
Dictionary Value
is
3
SCRIPTING
Get
Value
for
p.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
Otherwise
SCRIPTING
If
Dictionary Value
is
6
SCRIPTING
Get
Value
for
g.n
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
gn
to
Dictionary Value
SCRIPTING
Get
Value
for
g.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
MATHS
1
รท
Contents of URL
Options Under Construction

Calculation Result
MEDIA
Make GIF from
Contents of URL
Seconds per photo
Calculation Result

GIF
SCRIPTING
Set name of
GIF
to
gn

Renamed Item
PHOTOS
Save
Renamed Item
to
Recents

Saved Photo Media
SCRIPTING
Otherwise
SCRIPTING
Get
Value
for
q
in
Repeat Item

Dictionary Value
SCRIPTING
If
Dictionary Value
is
4
SCRIPTING
Get
Value
for
4.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
4L
to
Dictionary Value
SCRIPTING
Get
Value
for
3.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
3L
to
Dictionary Value
SCRIPTING
Get
Value
for
2.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
2L
to
Dictionary Value
SCRIPTING
Get
Value
for
1.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
1L
to
Dictionary Value
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
4L

Menu Result
SCRIPTING
Get
Value
for
4.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
3L

Menu Result
SCRIPTING
Get
Value
for
3.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
2L

Menu Result
SCRIPTING
Get
Value
for
2.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
1L

Menu Result
SCRIPTING
Get
Value
for
1.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
End Menu

Menu Result
SCRIPTING
Otherwise
SCRIPTING
If
Dictionary Value
is
3
SCRIPTING
Get
Value
for
3.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
3L3
to
Dictionary Value
SCRIPTING
Get
Value
for
2.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
2L3
to
Dictionary Value
SCRIPTING
Get
Value
for
1.l
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
1L3
to
Dictionary Value
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
3L3

Menu Result
SCRIPTING
Get
Value
for
3.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
2L3

Menu Result
SCRIPTING
Get
Value
for
2.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
1L3

Menu Result
SCRIPTING
Get
Value
for
1.u
in
Repeat Item

Dictionary Value
SCRIPTING
URL
Decode
Dictionary Value

URL Encoded Text
NETWORK
Get contents of
URL Encoded Text
Options Under Construction

Contents of URL
PHOTOS
Save
Contents of URL
to
Recents

Saved Photo Media
SCRIPTING
End Menu

Menu Result
SCRIPTING
Otherwise
SCRIPTING
If
Dictionary Value
is
2