Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
update 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mengzonefire committed Nov 10, 2022
1 parent 8cae793 commit 67cc26b
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 25 deletions.
4 changes: 2 additions & 2 deletions common/Tools.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* @Author: mengzonefire
* @Date: 2021-10-14 16:36:56
* @LastEditTime: 2022-09-14 19:01:45
* @LastEditTime: 2022-11-10 10:34:40
* @LastEditors: mengzonefire
* @Description: 共用JS工具库
*/

const version = "1.0";
const version = "1.1";
const updateUrl =
"https://api.github.com/repos/mengzonefire/baidupan-rapidupload/releases/latest";
const releasePage =
Expand Down
2 changes: 1 addition & 1 deletion convert.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="row">
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<h1>百度网盘秒传链接转换</h1>
<p id="version">v1.0 mengzonefire version</p>
<p id="version">v1.1 mengzonefire version</p>
<p><b>请先阅读 <a href="./manual.html" target="_blank">使用教程</b></a><br></p>
<p><a href="./index.html">秒传转存</a> <a href="./multisave.html">批量转存</a> <a href="./gen.html">秒传生成</a></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion gen.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="row">
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<h1>百度网盘秒传链接生成</h1>
<p id="version">v1.0 mengzonefire version</p>
<p id="version">v1.1 mengzonefire version</p>
<p><b>请先阅读 <a href="./manual.html" target="_blank">使用教程</a></b><br></p>
<p><a href="./index.html">秒传转存</a> <a href="./multisave.html">批量转存</a> <a href="./convert.html">秒传转换</a></p>
<p><b>支持批量生成, 需要在度盘中存在相同文件才能使秒传生效!</b></p>
Expand Down
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@
<div class="row">
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<h1>百度网盘秒传链接转存</h1>
<p id="version">v1.0 mengzonefire version</p>
<p id="version">v1.1 mengzonefire version</p>
<p><b>请先阅读 <a href="./manual.html" target="_blank">使用教程</a></b><br></p>
<p><a href="./multisave.html">批量转存</a> <a href="./gen.html">秒传生成</a> <a href="./convert.html">秒传转换</a></p>
</div>
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<p>若转存显示 <b>{"errno":-6,"request_id":...}:</b></p>
<p>请在此浏览器<b>打开或刷新</b><a href="https://pan.baidu.com/" target="_blank">度盘页面</a>(若未登陆请登陆)再重试</p>
<p>若转存显示 <b>{"errno":-6} 或 {"errno":2,"request_id":...}:</b></p>
<p>请填写<b>bdstoken</b>: <b><a href="https://pan.baidu.com/api/gettemplatevariable?fields=[%22bdstoken%22]"
<p>1. 若转存显示 <b>{"errno":-6,"request_id":...}:</b></p>
<p>-> 请在此浏览器<b>打开或刷新</b><a href="https://pan.baidu.com/" target="_blank">度盘页面</a>(若未登陆请登陆)再重试</p>
<p>2. 若转存显示 <b>{"errno":-6} 或 {"errno":2,"request_id":...}:</b></p>
<p>-> 请填写<b>bdstoken</b>: <b><a href="https://pan.baidu.com/api/gettemplatevariable?fields=[%22bdstoken%22]"
target=_blank>登录度盘网页版后点我获取bdstoken</a></b></p>
</div>
<div id="body" class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<div id="api">
<p>秒传转存接口:
<label class="checkbox-inline" style="cursor:pointer; margin-left: 10px;">
<input type="radio" name="inlineRadioOptions" value="api1" checked> 常规接口
<input type="radio" name="inlineRadioOptions" value="api2" checked> 备用接口
</label>
<label class="checkbox-inline" style="cursor:pointer; margin-left: 6px;">
<input type="radio" name="inlineRadioOptions" value="api2"> 备用接口
(常规接口显示404时使用)</label>
<input type="radio" name="inlineRadioOptions" value="api1" disabled> <del>常规接口</del>(已失效)
</label>
</p>
</div>
<div>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h1>百度网盘秒传链接转存</h1>
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.2.0/js/bootstrap.min.js"></script>
<script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/base64.js"></script>
<script src="./common/Tools.js?version=1.0"></script>
<script src="./common/Tools.js?version=1.1"></script>
<script>
function inital() {
$('#bdstoken').val(localStorage.getItem('Blink_bdstoken'));
Expand Down
8 changes: 6 additions & 2 deletions manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<h1>本站使用教程</h1>
<p>v1.0 mengzonefire version</p>
<p>v1.1 mengzonefire version</p>
<p><a href="./">返回首页</a><br>
</div>
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
Expand All @@ -38,7 +38,7 @@ <h4>常见问题</h4>
</div>
<p><a data-bs-toggle="collapse" data-parent="#body" href="#collapseThree"><b>3. 支持哪些秒传链接格式?</b></a></p>
<div id="collapseThree" class="panel-collapse collapse in">
见秒传文档: <a href="https://mengzonefire.code.misakanet.cn/rapid-upload-userscript-doc-v2/document/Info/秒传格式"
见秒传文档: <a href="https://mengzonefire.code.misakanet.cn/rapid-upload-userscript-doc/document/Info/秒传格式"
class="mzf_link" rel="noopener noreferrer" target="_blank">载点1</a>
<a href="https://xtsat.github.io/rapid-upload-userscript-doc/document/Info/秒传格式" class="mzf_link"
rel="noopener noreferrer" target="_blank">载点2</a>
Expand All @@ -54,6 +54,10 @@ <h4>工具说明</h4>
<br>
<h4>更新历史</h4>
<dl>
<dt>v1.1 (22.11.10):</dt>
<dd>常规接口已在22.10.24失效, 暂时弃用</dd>
<dd>文档地址迁移</dd>

<dt>v1.0 (22.9.14):</dt>
<dd>修复部分浏览器不兼容的问题(实际为需要bdstoken)</dd>
<dd>大于20G的文件自动使用备用接口(常规接口不支持)</dd>
Expand Down
19 changes: 9 additions & 10 deletions multisave.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<h1>百度网盘秒传链接批量转存</h1>
<p id="version">v1.0 mengzonefire version</p>
<p id="version">v1.1 mengzonefire version</p>
<p><b>请先阅读 <a href="./manual.html" target="_blank">使用教程</b></a><br></p>
<p><a href="./index.html">秒传转存</a> <a href="./gen.html">秒传生成</a> <a href="./convert.html">秒传转换</a>
</p>
Expand All @@ -26,21 +26,20 @@ <h1>百度网盘秒传链接批量转存</h1>
</p>
</div>
<div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<p>若转存显示 <b>{"errno":-6,"request_id":...}:</b></p>
<p>请在此浏览器<b>打开或刷新</b><a href="https://pan.baidu.com/" target="_blank">度盘页面</a>(若未登陆请登陆)再重试</p>
<p>若转存显示 <b>{"errno":-6} 或 {"errno":2,"request_id":...}:</b></p>
<p>请填写<b>bdstoken</b>: <b><a href="https://pan.baidu.com/api/gettemplatevariable?fields=[%22bdstoken%22]"
<p>1. 若转存显示 <b>{"errno":-6,"request_id":...}:</b></p>
<p>-> 请在此浏览器<b>打开或刷新</b><a href="https://pan.baidu.com/" target="_blank">度盘页面</a>(若未登陆请登陆)再重试</p>
<p>2. 若转存显示 <b>{"errno":-6} 或 {"errno":2,"request_id":...}:</b></p>
<p>-> 请填写<b>bdstoken</b>: <b><a href="https://pan.baidu.com/api/gettemplatevariable?fields=[%22bdstoken%22]"
target=_blank>登录度盘网页版后点我获取bdstoken</a></b></p>
</div>
<div id="body" class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 text-center">
<div id="api">
<p>
秒传转存接口:
<p>秒传转存接口:
<label class="checkbox-inline" style="cursor:pointer; margin-left: 10px;">
<input type="radio" name="inlineRadioOptions" value="api1" checked> 常规接口
<input type="radio" name="inlineRadioOptions" value="api2" checked> 备用接口
</label>
<label class="checkbox-inline" style="cursor:pointer; margin-left: 6px;">
<input type="radio" name="inlineRadioOptions" value="api2"> 备用接口(常规接口显示404时使用)
<input type="radio" name="inlineRadioOptions" value="api1" disabled> <del>常规接口</del>(已失效)
</label>
</p>
</div>
Expand Down Expand Up @@ -71,7 +70,7 @@ <h1>百度网盘秒传链接批量转存</h1>
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.2.0/js/bootstrap.min.js"></script>
<script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/base64.js"></script>
<script src="./common/Tools.js?version=1.0"></script>
<script src="./common/Tools.js?version=1.1"></script>
<script>
function inital() {
$('#bdstoken').val(localStorage.getItem('Blink_bdstoken'));
Expand Down

0 comments on commit 67cc26b

Please sign in to comment.