Using new Invidious instance.
This commit is contained in:
		@@ -37,9 +37,9 @@ Commands:
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
new_link() {
 | 
					new_link() {
 | 
				
			||||||
	local results=$(curl -s "https://invidio.us/search?q=lofi+radio" |
 | 
						local results=$(curl -s "https://invidious.tube/search?q=lofi+radio" |
 | 
				
			||||||
		grep "<p>.*watch" | tr -d "\n" | tr -s " ")
 | 
							grep "<p>.*watch" | tr -d "\n" | tr -s " ")
 | 
				
			||||||
	results=${results//\<p\>\<a href\=\"/\"https:\/\/invidio.us}
 | 
						results=${results//\<p\>\<a href\=\"/\"https:\/\/invidious.tube}
 | 
				
			||||||
	results=${results//\"\>/\" \"}
 | 
						results=${results//\"\>/\" \"}
 | 
				
			||||||
	results=${results//\<\/a\>\<\/p\>/\" þ }
 | 
						results=${results//\<\/a\>\<\/p\>/\" þ }
 | 
				
			||||||
	results=${results::-2} # remove that last separator
 | 
						results=${results::-2} # remove that last separator
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user