Using new Invidious instance.
This commit is contained in:
parent
0e40ca3e5c
commit
6e780d3a22
@ -37,9 +37,9 @@ Commands:
|
||||
}
|
||||
|
||||
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 " ")
|
||||
results=${results//\<p\>\<a href\=\"/\"https:\/\/invidio.us}
|
||||
results=${results//\<p\>\<a href\=\"/\"https:\/\/invidious.tube}
|
||||
results=${results//\"\>/\" \"}
|
||||
results=${results//\<\/a\>\<\/p\>/\" þ }
|
||||
results=${results::-2} # remove that last separator
|
||||
|
Loading…
Reference in New Issue
Block a user