mirror of
https://github.com/iv-org/youtube-utils.git
synced 2024-11-26 23:20:37 +00:00
Add code to support 'platform' and 'clientFormFactor' query options
This commit is contained in:
parent
ecfa789948
commit
a0fb0e3c07
@ -111,6 +111,8 @@ client_extra_device_make=""
|
||||
client_extra_device_model=""
|
||||
client_extra_os_name=""
|
||||
client_extra_os_vers=""
|
||||
client_extra_platform=""
|
||||
client_extra_form_factor=""
|
||||
|
||||
data=""
|
||||
|
||||
@ -427,6 +429,14 @@ if [ $interactive = true ]; then
|
||||
if ! [ -z "$client_extra_os_vers" ]; then
|
||||
client="${client},\"osVersion\":\"${client_extra_os_vers}\""
|
||||
fi
|
||||
|
||||
if ! [ -z "$client_extra_platform" ]; then
|
||||
client="${client},\"platform\":\"${client_extra_platform}\""
|
||||
fi
|
||||
|
||||
if ! [ -z "$client_extra_form_factor" ]; then
|
||||
client="${client},\"clientFormFactor\":\"${client_extra_form_factor}\""
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user