mirror of
				https://gitea.invidious.io/iv-org/youtube-utils.git
				synced 2024-08-15 00:53:16 +00:00 
			
		
		
		
	Add code to support 'platform' and 'clientFormFactor' query options
This commit is contained in:
		
							parent
							
								
									ecfa789948
								
							
						
					
					
						commit
						a0fb0e3c07
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue