Created
October 9, 2021 01:52
-
-
Save nickkkkk0703/5f47752ae3472ee18a341da2b372ee4f to your computer and use it in GitHub Desktop.
risu 影片下載
This file contains 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
/** | |
* 使用步驟: | |
* 瀏覽器新增書籤,並在網址欄位放入以下程式碼 | |
* 後續只要在 risu 播放影片的頁面點擊書籤即可自動下載 | |
* 若有密碼,須先自行輸入密碼後,進入播放影片的頁面方可有效 | |
*/ | |
javascript: function downloadBlobs(blob){const blobUrl=new URL(blob);const url=new URL(blobUrl.pathname);const fileName=url.pathname.replace(/^\//g,"")||"video";const a=document.createElement("a");a.href=blob;a.download=`${fileName}.mp4`;a.click()}downloadBlobs(document.getElementsByTagName("video")[0].src); |
他說檢查網路連線但我有網路啊
是在Fito網站嗎? 我的也發生這種情況,發現按F12也會被強制退出,可能有保護機制吧
thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
他說檢查網路連線但我有網路啊