@@ -49,6 +49,11 @@ export function aliasURL(url) {
|
||||
}
|
||||
break;
|
||||
|
||||
case "bilibili":
|
||||
if (host.tld === 'tv') {
|
||||
url = new URL(`https://bilibili.com/_tv${url.pathname}`);
|
||||
}
|
||||
break;
|
||||
case "b23":
|
||||
if (url.hostname === 'b23.tv' && parts.length === 2) {
|
||||
url = new URL(`https://bilibili.com/_shortLink/${parts[1]}`)
|
||||
|
||||
Reference in New Issue
Block a user