mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-10 02:27:29 +00:00
Switch to invidious.io
This commit is contained in:
parent
0424996e31
commit
c284fdf268
@ -3,7 +3,7 @@ const {request} = require("../utils/request")
|
|||||||
let globalList = []
|
let globalList = []
|
||||||
|
|
||||||
function execute() {
|
function execute() {
|
||||||
return request("https://instances.invidio.us/instances.json?sort_by=health").then(res => res.json()).then(list => {
|
return request("https://api.invidious.io/instances.json?sort_by=health").then(res => res.json()).then(list => {
|
||||||
list = list.filter(i => i[1].type === "https").map(i => i[1].uri)
|
list = list.filter(i => i[1].type === "https").map(i => i[1].uri)
|
||||||
globalList = list
|
globalList = list
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
@ -59,7 +59,7 @@ block content
|
|||||||
| Search
|
| Search
|
||||||
//- button.border-look#share Share
|
//- button.border-look#share Share
|
||||||
a(href=`https://www.youtube.com/watch?v=${video.videoId}#cloudtube`).border-look YouTube
|
a(href=`https://www.youtube.com/watch?v=${video.videoId}#cloudtube`).border-look YouTube
|
||||||
a(href=`https://invidio.us/watch?v=${video.videoId}`).border-look Invidious
|
a(href=`https://invidious.io/watch?v=${video.videoId}`).border-look Invidious
|
||||||
|
|
||||||
.description!= video.descriptionHtml
|
.description!= video.descriptionHtml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user