Fix some beatbump redirects
This commit is contained in:
parent
2460d24aba
commit
d3dca6a91b
|
@ -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=", "/"))
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"normal": ["https://beatbump.ml"],
|
||||
"normal": [
|
||||
"https://beatbump.ml",
|
||||
"https://beatbump.esmailelbob.xyz"
|
||||
],
|
||||
"tor": [],
|
||||
"i2p": [],
|
||||
"loki": []
|
||||
|
|
Loading…
Reference in New Issue