Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masx200/mn5-cc-search-downloader
网站 www.mn5.cc 和 www.xiurenji.com 的搜索页面的批量下载图片浏览器脚本
https://github.com/masx200/mn5-cc-search-downloader
Last synced: 6 days ago
JSON representation
网站 www.mn5.cc 和 www.xiurenji.com 的搜索页面的批量下载图片浏览器脚本
- Host: GitHub
- URL: https://github.com/masx200/mn5-cc-search-downloader
- Owner: masx200
- License: mit
- Created: 2020-08-24T08:22:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T01:47:38.000Z (over 3 years ago)
- Last Synced: 2024-09-27T13:07:09.861Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mn5-cc-search-downloader
网站 https://www.mn5.cc 和 https://www.xiurenji.com 的搜索页面的批量下载图片浏览器脚本
# 使用方法
1.打开搜索页面
https://www.mn5.cc/plus/search/index.asp
或者
https://www.xiurenji.com/plus/search/index.asp
搜索框输入内容,点击搜索
3.把内容复制到浏览器控制台运行
```js
import(
"https://cdn.jsdelivr.net/gh/masx200/mn5-cc-search-downloader@latest/src/index.js"
);
```或者 如果浏览器不支持
```js
~(()=>{
window[Symbol.for("rpcurl")] = "http://localhost:6800/jsonrpc";
var s = document.createElement("script");
s.src =
"https://cdn.jsdelivr.net/gh/masx200/mn5-cc-search-downloader@latest/src/index.js";
s.type = "module";
s.async = true;
document.head.appendChild(s);
s.onload = s.onerror = () => {
document.head.removeChild(s);
s = undefined;
};
})()```
# 注意:
需要配合 arai2c 使用,
https://aria2.github.io/
aria2 RPC 默认调用网址为
http://localhost:6800/jsonrpc
# 配置变量
也可以在加载脚本前,通过设置变量`window[Symbol.for("rpcurl")]`来修改,例如
```js
window[Symbol.for("rpcurl")] = "http://localhost:7000/jsonrpc";
```aria2c RPC 配置
https://github.com/masx200/aria2c-backend-rpc-config