invidious: change heuristic for using path as ID
This commit is contained in:
		
							parent
							
								
									3fcbc23542
								
							
						
					
					
						commit
						06f9918f2c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -65,10 +65,10 @@ get_id_query() | |||
| get_id() | ||||
| { | ||||
| 	case $1 in | ||||
| 	"https://youtu.be/" | *"/embed/"*) | ||||
| 		get_id_path "$1" | ||||
| 	*"?v="*) | ||||
| 		get_id_query "$1" | ||||
| 		;; | ||||
| 	*)	get_id_query "$1" | ||||
| 	*)	get_id_path "$1" | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue