代码拉取完成,页面将自动刷新
同步操作将从 赵园园/cat-catch 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>titleOption</title>
<link rel="stylesheet" type="text/css" href="css/public.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/options.css" media="all" />
<script src="lib/jquery.min.js"></script>
<script src="js/init.js"></script>
<script src="js/function.js"></script>
</head>
<body>
<div class="wrapper">
<!-- 抓取后缀 -->
<section>
<h1 class="optionsTitle" data-i18n="suffix"></h1>
<div class="optionBox">
<span class="explain" data-i18n="suffixTip"></span>
<table id="extList">
<tr>
<th data-i18n="suffix"></th>
<th data-i18n="filterSize"></th>
<th data-i18n="enable"></th>
<th data-i18n="delete"></th>
</tr>
</table>
<div class="flex-end">
<button type="button" id="AddExt" class="button2" data-i18n="addSuffix"></button>
<button type="button" id="ResetExt" data-reset="Ext" data-i18n="resetSettings"></button>
<button type="button" id="allDisable" data-switch="Ext" data-i18n="disableAll"></button>
<button type="button" id="allEnable" data-switch="Ext" data-i18n="enableAll"></button>
</div>
</div>
</section>
<!-- 抓取类型 -->
<section>
<h1 class="optionsTitle" data-i18n="type"></h1>
<div class="optionBox">
<span class="explain" data-i18n="typeTip"></span>
<table id="typeList">
<tr>
<th data-i18n="type"></th>
<th data-i18n="filterSize"></th>
<th data-i18n="enable"></th>
<th data-i18n="delete"></th>
</tr>
</table>
<div class="flex-end">
<button type="button" id="AddType" class="button2" data-i18n="addType"></button>
<button type="button" id="ResetType" data-reset="Type" data-i18n="resetSettings"></button>
<button type="button" id="allDisable" data-switch="Type" data-i18n="disableAll"></button>
<button type="button" id="allEnable" data-switch="Type" data-i18n="enableAll"></button>
</div>
</div>
</section>
<!-- 正则匹配 -->
<section>
<h1 class="optionsTitle">
<img src="img/regex.png" style="width: 18px" class="regex"/><span data-i18n-outer="regexMatch"></span> / <span
data-i18n-outer="blockResource"></span>
</h1>
<div class="optionBox">
<span class="explain"><b data-i18n="blockResource"></b>
<p data-i18n-outer="blockResourceTip"></p>
</span><br>
<span class="explain"><b data-i18n="flag"></b>
</span><br>
<span class="explain"><b data-i18n="suffix"></b>
<p data-i18n-outer="regexSuffixTip"></p>
</span><br>
<span class="explain"><b data-i18n="regexTip"></b></span><br><br>
<table id="regexList">
<tr>
<th data-i18n="flag"></th>
<th data-i18n="regexExpression"></th>
<th data-i18n="suffix"></th>
<th data-i18n="blockResource"></th>
<th data-i18n="enable"></th>
<th data-i18n="delete"></th>
</tr>
</table>
<div class="flex-end">
<button type="button" id="AddRegex" class="button2" data-i18n="addRegex"></button>
<button type="button" id="ResetRegex" data-reset="Regex" data-i18n="resetSettings"></button>
<button type="button" id="allDisable" data-switch="Regex" data-i18n="disableAll"></button>
<button type="button" id="allEnable" data-switch="Regex" data-i18n="enableAll"></button>
</div>
<span style="font-weight: bold; font-size: 15px" data-i18n="regexTest"></span><br />
<span>URL</span><br />
<input type="text" id="testUrl" style="width: 590px" /><br />
<span data-i18n="regex"></span><br />
<input type="text" id="testRegex" style="width: 590px" /><br />
<span data-i18n="flag"></span><br />
<input type="text" id="testFlag" style="width: 20px" value="ig" />
<span style="color: #ff0000" id="testResult" data-i18n="noMatch"></span>
</div>
</section>
<!-- 复制选项 -->
<section>
<h1 class="optionsTitle">
<img src="img/copy.png" style="width: 18px" class="copy"/>
<p data-i18n-outer="copy"></p>
</h1>
<div class="optionBox">
<span class="explain">
<p data-i18n-outer="copyTip"></p><br />
<a href="https://o2bmm.gitbook.io/cat-catch/docs/settings#keywords" target="_blank"
data-i18n="replaceKeywordList"></a><br /><br />
<div class="item">
<div>HLS m3u8</div>
<textarea id="copyM3U8" save="input" type="text" class="width100"></textarea>
</div>
<div class="item" style="margin-top: 10px;">
<div>DASH mpb</div>
<textarea id="copyMPD" save="input" type="text" class="width100"></textarea>
</div>
<div class="item" style="margin-top: 10px;">
<div data-i18n="otherFiles"></div>
<textarea id="copyOther" save="input" type="text" class="width100"></textarea>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</section>
<!-- Aria2 RPC -->
<section>
<h1 class="optionsTitle">
<img src="img/aria2.png" style="width: 18px" class="aria2"/>
Aria2 RPC
</h1>
<div class="optionBox">
<span class="explain">
<p data-i18n-outer="aria2Tip"></p>
<a href="https://aria2.github.io/manual/en/html/aria2c.html#rpc-interface" target="_blank"
data-i18n="documentation"></a>
</span>
<div class="list">
<div class="item">
<div><span data-i18n-outer="enable"></span> Aria2 RPC</div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="enableAria2Rpc" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="autoSetRefererCookieParams"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="enableAria2RpcReferer" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="secretKey"></div>
<input id="aria2RpcToken" save="input" type="text" class="width100"></input>
</div>
<div class="item">
<div>Aira2 RPC <span data-i18n-outer="address"></span></div>
<input id="aria2Rpc" save="input" type="text" class="width100"></input>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- 发送数据 -->
<section>
<h1 class="optionsTitle">
<p data-i18n-outer="send2local"></p>(beta)
</h1>
<div class="optionBox">
<span class="explain">
<a href="https://o2bmm.gitbook.io/cat-catch/docs/settings#send" target="_blank" data-i18n="documentation"></a>
</span>
<div class="list">
<div class="item">
<div><span data-i18n-outer="enable"></span>
<p data-i18n-outer="send2local"></p>
</div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="send2local" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div><span data-i18n-outer="address"></span></div>
<input id="send2localURL" save="input" type="text" class="width100"></input>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</section>
<!-- m3u8DL -->
<section>
<h1 class="optionsTitle">URL Protocol m3u8dl</h1>
<div class="optionBox" id="m3u8dlOption">
<span class="explain">
<a href="https://github.com/nilaoda/N_m3u8DL-CLI" target="_blank">N_m3u8DL-CLI</a> / <a href="https://github.com/nilaoda/N_m3u8DL-RE" target="_blank">N_m3u8DL-RE</a>
<p data-i18n-outer="m3u8DLTips"></p>
<a href="https://o2bmm.gitbook.io/cat-catch/docs/m3u8dl" target="_blank" data-i18n="documentation"></a>
</span>
<div class="list">
<div class="item">
<div><span data-i18n-outer="enable"></span> m3u8dl:// <span data-i18n-outer="download"></span> m3u8 or mpd</div>
<div class="switch m3u8DL">
<select id="m3u8dl" class="select" save="select">
<option value="0" data-i18n="disable"></option>
<option value="1">N_m3u8DL-CLI</option>
<option value="2">N_m3u8DL-RE</option>
</select>
</div>
</div>
<div class="item">
<div style="margin-bottom: 5px;margin-top: 5px;">
<a href="https://o2bmm.gitbook.io/cat-catch/docs/settings#keywords" target="_blank"
data-i18n="replaceKeywordList"></a>
<a href="https://nilaoda.github.io/N_m3u8DL-CLI/Advanced.html" target="_blank"
style="margin-left: 10px;">N_m3u8DL-CLI <span data-i18n-outer="parameter"></span></a>
<a href="https://github.com/nilaoda/N_m3u8DL-RE?tab=readme-ov-file#%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%8F%82%E6%95%B0" target="_blank"
style="margin-left: 10px;">N_m3u8DL-RE <span data-i18n-outer="parameter"></span></a>
<p data-i18n="parameterSetting"></p>
</div>
<textarea id="m3u8dlArg" save="input" type="text" class="width100 break-all" rows="3"></textarea>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- 第三方本地程序调用 -->
<section>
<h1 class="optionsTitle">
<img src="img/invoke.svg" style="width: 18px" class="invoke"/>
<p data-i18n-outer="invokeApp"></p>
</h1>
<div class="optionBox" id="invokeOption">
<div class="list">
<div class="item">
<div data-i18n="enable"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="invoke" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div>
<p data-i18n="parameterSetting"></p>
</div>
<textarea id="invokeText" save="input" type="text" class="width100 break-all" rows="3"></textarea>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- 替换标签 -->
<section>
<h1 class="optionsTitle" data-i18n="replaceTags"></h1>
<div class="optionBox" id="tag">
<span class="explain"></span>
<div style="margin-bottom: 5px;">
<a href="https://o2bmm.gitbook.io/cat-catch/docs/settings#keywords" target="_blank"
data-i18n="replaceKeywordList"></a>
</div>
<div class="list">
<div class="item">
<div data-i18n="customSaveFileName"></div>
<textarea id="downFileName" save="input" type="text" class="width100"></textarea>
</div>
<div class="item">
<div>${userAgent} <span data-i18n-outer="userAgentTip"></span></div>
<textarea id="userAgent" save="input" type="text" class="width100"></textarea>
</div>
<div class="item">
<div>${mobileUserAgent} / <span data-i18n-outer="simulateMobile"></span>User Agent</div>
<textarea id="MobileUserAgent" save="input" type="text" class="width100"></textarea>
</div>
<div id="testTag" class="hide break-all">
<div class="item">
<div>
<p data-i18n="test"></p>
</div>
<textarea id="testTextarea" type="text" class="width100 break-all"
rows="3">${url} ${referer|exists:'--headers "Referer:*"'} ${url|regexp:"(https?://[^?]*)"|replace:"http://","https://"|to:base64}</textarea>
</div>
${url}<input type="text" class="width100" value="https://bmmmd.com/test.m3u8" id="url">
${referer}<input type="text" class="width100" value="https://bmmmd.com/" id="referer">
${initiator}<input type="text" class="width100" value="https://bmmmd.com" id="initiator">
${webUrl}<input type="text" class="width100" value="https://bmmmd.com/test.html" id="webUrl">
${title}<input type="text" class="width100" value="test Video" id="title">
<span data-i18n-outer="result"></span>:<br><span id="tagTestResult"></span>
</div>
<div class="flex-end">
<button type="button" id="showTestTag" data-i18n="test"></button>
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- 下载器 -->
<section>
<h1 class="optionsTitle">
<img src="img/cat-down.png" style="width: 18px" class="cat-down"/>
<p data-i18n-outer="downloader"></p>
</h1>
<div class="optionBox" id="downOption">
<span class="explain" data-i18n="downloaderTip"></span>
<div class="list">
<div class="item">
<div data-i18n="alwaysDisableCatCatcher"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="catDownload" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="autoClosePageAfterDownload"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="downAutoClose" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="openDownloaderPageInBackground"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="downActive" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="downloadWhileSaving"></div>(beta)
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="downStream" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- m3u8解析器 -->
<section>
<h1 class="optionsTitle">
<img src="img/parsing.png" style="width: 18px" class="parsing"/>
<p data-i18n-outer="m3u8Parser"></p>
</h1>
<div class="optionBox" id="m3u8Option">
<div class="list">
<div class="item">
<div><img src="img/download.svg" style="width: 18px" class="download"> <span data-i18n-outer="autoDownM3u8Tip"></span></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="m3u8AutoDown" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="downloadThreads"></div>
<div class="switch">
<input id="M3u8Thread" save="input" type="number" class="width3rem"></input>
</div>
</div>
<div class="item">
<div data-i18n="mp4Format"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8Mp4" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="audioOnly"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8OnlyAudio" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="skipDecryption"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8SkipDecrypt" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="downloadWhileSaving"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8StreamSaver" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="ffmpegTranscoding"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8Ffmpeg" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="autoClosePageAfterDownload"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="M3u8AutoClose" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</div>
</section>
<!-- 其他设置 -->
<section>
<h1 class="optionsTitle" data-i18n="otherSettings"></h1>
<div class="optionBox" id="OtherOption">
<div class="list otherOption">
<div class="item">
<div>
<span data-i18n-outer="previewMode"></span> <select id="PlayerTemplate" class="select"></select>
</div>
<input id="Player" save="input" type="text" class="width100"
data-i18n-placeholder="previewModePlaceholder" />
</div>
<div class="item">
<div data-i18n="customFilenameOption"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" save="click" id="TitleName" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="saveAsOption"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="saveAs" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="badgeNumber"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="badgeNumber" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="iconOption"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" save="click" id="ShowWebIco" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="clearOption"></div>
<div class="switch switchSelect">
<select id="autoClearMode" class="select" save="select">
<option value="0" data-i18n="doNotClear"></option>
<option value="1" data-i18n="normalClear"></option>
<option value="2" data-i18n="moreFrequent"></option>
</select>
</div>
</div>
<div class="item">
<div data-i18n="excludeDuplicateResources"></div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="checkDuplicates" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
<div class="item">
<div data-i18n="onlineServiceAddress"></div>
<div class="switch switchSelect">
<select id="onlineServiceAddress" class="select" save="select">
<option value="0" data-i18n="withinChina"></option>
<option value="1">cloudflare</option>
</select>
</div>
</div>
<div class="item">
<div data-i18n="defaultPopup"></div>
<div class="popupAttr">
<span><input id="popupHeight" save="input" type="number" class="width3rem"></input></span>
x
<span><input id="popupWidth" save="input" type="number" class="width3rem"></input></span>
<span>Top: <input id="popupTop" save="input" type="number" class="width3rem"></input></span>
<span>Left: <input id="popupLeft" save="input" type="number" class="width3rem"></input></span>
</div>
<div class="switch">
<label class="switchLabel switchRadius">
<input type="checkbox" id="popup" save="click" class="switchInput" />
<span class="switchRound switchRadius"><em class="switchRoundBtn switchRadius"></em></span>
</label>
</div>
</div>
</div>
<div class="flex-end">
<button type="button" class="resetOption" data-i18n="resetSettings"></button>
</div>
</div>
</section>
<!-- 自定义css -->
<section>
<h1 class="optionsTitle" data-i18n="customCSS"></h1>
<div class="optionBox">
<div class="item">
<textarea id="css" save="input" type="text" class="width100" rows="10"></textarea>
</div>
</div>
</section>
<!-- 操作按钮 -->
<section>
<h1 class="optionsTitle" data-i18n="operation"></h1>
<div class="optionBox">
<div class="flex-end" style="justify-content: center">
<input id="importOptionsFile" type="file" class="hide" />
<button type="button" id="exportOptions" data-i18n="exportSettings"></button>
<button type="button" id="importOptions" data-i18n="importConfiguration"></button>
<button type="button" id="ClearData" data-i18n="clearCapturedData"></button>
<button type="button" id="ResetAllOption" data-i18n="resetAllSettings"></button>
<button type="button" id="extensionReload" data-i18n="restartExtension"></button>
</div>
</div>
</section>
<!-- 关于 -->
<section>
<h1 class="optionsTitle" data-i18n="about"></h1>
<div class="optionBox">
<div class="item">
<div id="version"></div>
</div>
<div class="item">
<span data-i18n-outer="documentation"></span>:
<a href="https://o2bmm.gitbook.io/cat-catch/" target="_blank">
https://o2bmm.gitbook.io/cat-catch/</a>
</div>
<div class="item">
Github:
<a href="https://github.com/xifangczy/cat-catch" target="_blank">
https://github.com/xifangczy/cat-catch</a>
</div>
</div>
</section>
</div>
<script src="lib/base64.js"></script>
<script src="js/options.js"></script>
<script src="js/i18n.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。