Created
November 11, 2023 06:41
-
-
Save foolgry/af656f6b34dfa7b72fac932ae2c4dc14 to your computer and use it in GitHub Desktop.
下载b站音频
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
var url = window.location.href; | |
var match = url.match(/https:\/\/www\.bilibili\.com\/video\/(BV[\w]+)/); | |
if(match && match[1]){ | |
window.open('https://bili.amono.me/' + match[1]); | |
} else { | |
alert('不是有效的Bilibili视频链接!'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment