识别网页中显示的网盘链接,目前包括百度网盘、蓝奏云、天翼云、中国移动云盘(原:和彩云)、阿里云、文叔叔、奶牛快传、123盘、腾讯微云、迅雷网盘、115网盘、夸克网盘、城通网盘(部分)、坚果云、UC网盘、BT磁力,支持蓝奏云、天翼云(需登录)、123盘、奶牛、UC网盘(需登录)、坚果云(需登录)和阿里云盘(需登录,且限制在网盘页面解析)直链获取下载,页面动态监控加载的链接,可自定义规则来识别小众网盘/网赚网盘或其它自定义的链接。
< Σχολιασμός για τον κώδικα 网盘链接识别
添加自定义规则
[
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": {
"link_innerText": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"link_innerHTML": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"shareCode": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^feimaoyun.com/s/",
"uiLinkShow": "https://www.feimaoyun.com/s/{#shareCode#}",
"blank": "https://www.feimaoyun.com/s/{#shareCode#}",
"copyUrl": "https://www.feimaoyun.com/s/{#shareCode#}"
},
"setting": {
"name": "飞猫盘",
"isBlank": true
}
},
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": {
"link_innerText": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"link_innerHTML": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"shareCode": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^feimaoyun.com/#/s/",
"uiLinkShow": "https://www.feimaoyun.com/s/{#shareCode#}",
"blank": "https://www.feimaoyun.com/s/{#shareCode#}",
"copyUrl": "https://www.feimaoyun.com/s/{#shareCode#}"
},
"setting": {
"name": "飞猫盘",
"isBlank": true
}
}
]
有的飞猫链接是 https://jmj.cc/s/ 开头的,希望也能加进去。自己添加的话,如果更新脚本,是不是就失效了?
有的飞猫链接是 https://jmj.cc/s/ 开头的,希望也能加进去。自己添加的话,如果更新脚本,是不是就失效了?
不会,添加的内容是保存在油猴的本地数据里的
[
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": {
"link_innerText": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"link_innerHTML": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"shareCode": "feimaoyun.com/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^feimaoyun.com/s/",
"uiLinkShow": "https://www.feimaoyun.com/s/{#shareCode#}",
"blank": "https://www.feimaoyun.com/s/{#shareCode#}",
"copyUrl": "https://www.feimaoyun.com/s/{#shareCode#}"
},
"setting": {
"name": "飞猫盘",
"isBlank": true
}
},
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": {
"link_innerText": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"link_innerHTML": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"shareCode": "feimaoyun.com/#/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^feimaoyun.com/s/",
"uiLinkShow": "https://www.feimaoyun.com/s/{#shareCode#}",
"blank": "https://www.feimaoyun.com/s/{#shareCode#}",
"copyUrl": "https://www.feimaoyun.com/s/{#shareCode#}"
},
"setting": {
"name": "飞猫盘",
"isBlank": true
}
},
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": {
"link_innerText": "jmj.cc/s/([0-9a-zA-Z]+)",
"link_innerHTML": "jmj.cc/s/([0-9a-zA-Z]+)",
"shareCode": "jmj.cc/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^jmj.cc/s/",
"uiLinkShow": "https://jmj.cc/s/{#shareCode#}",
"blank": "https://jmj.cc/s/{#shareCode#}",
"copyUrl": "https://jmj.cc/s/{#shareCode#}"
},
"setting": {
"name": "飞猫盘",
"isBlank": true
}
}
]
新版本更改了自定义规则部分内容,如果自动更新,请回退到2024.3.25版本,把自定义规则全部清空,然后再更新到新版本,点击油猴菜单
-用户自定义规则
,清空模板,粘贴下面的内容即可,同时在设置
界面可进行部分的功能设置/编辑/删除
{
"key": "feimaoyun",
"icon": "https://www.feimaoyun.com/favicon.ico",
"regexp": [
{
"link_innerText": "feimaoyun.com(/#|)/s/([0-9a-zA-Z]+)",
"link_innerHTML": "feimaoyun.com(/#|)/s/([0-9a-zA-Z]+)",
"shareCode": "feimaoyun.com(/#|)/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^feimaoyun.com(/#|)/s/",
"uiLinkShow": "https://www.feimaoyun.com/s/{#shareCode#}",
"blank": "https://www.feimaoyun.com/s/{#shareCode#}",
"copyUrl": "https://www.feimaoyun.com/s/{#shareCode#}"
},
{
"link_innerText": "jmj.cc/s/([0-9a-zA-Z]+)",
"link_innerHTML": "jmj.cc/s/([0-9a-zA-Z]+)",
"shareCode": "jmj.cc/s/([0-9a-zA-Z]+)",
"shareCodeNeedRemoveStr": "^jmj.cc/s/",
"uiLinkShow": "https://jmj.cc/s/{#shareCode#}",
"blank": "https://jmj.cc/s/{#shareCode#}",
"copyUrl": "https://jmj.cc/s/{#shareCode#}"
}
],
"setting": {
"name": "飞猫盘",
"enable": true,
"isBlank": true
}
}
能否添加飞猫云www.feimaoyun.com