Fix some beatbump redirects

This commit is contained in:
BobIsMyManager 2022-08-03 14:51:14 +01:00
parent 2460d24aba
commit d3dca6a91b
2 changed files with 5 additions and 2 deletions

View File

@ -187,7 +187,7 @@ function getUrl(randomInstance, url) {
.replace("/watch?v=", "/listen?id=")
.replace("/channel/", "/artist/")
.replace("/playlist?list=", "/playlist/VL")
.replace(/\/search\?q=.*/, searchQuery => searchQuery.replace("?q=", "/") + "?filter=EgWKAQIIAWoKEAMQBBAKEAkQBQ%3D%3D")
.replace(/\/search\?q=.*/, searchQuery => searchQuery.replace("?q=", "/") + "?filter=song")
case "hyperpipe":
return `${randomInstance}${url.pathname}${url.search}`.replace(/\/search\?q=.*/, searchQuery => searchQuery.replace("?q=", "/"))
}

View File

@ -1,5 +1,8 @@
{
"normal": ["https://beatbump.ml"],
"normal": [
"https://beatbump.ml",
"https://beatbump.esmailelbob.xyz"
],
"tor": [],
"i2p": [],
"loki": []