mirror of
https://github.com/lyz05/danmaku.git
synced 2026-02-03 02:04:38 +08:00
feat: first commit
This commit is contained in:
74
views/airportdownload.ejs
Normal file
74
views/airportdownload.ejs
Normal file
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>代理软件下载链接</title>
|
||||
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css"
|
||||
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>代理软件下载加速链接:</h1>
|
||||
<p>
|
||||
以下是各个代理软件(含浏览器扩展)的Github最新版本:</p>
|
||||
<ul>
|
||||
<% for (item of datas) { %>
|
||||
<li>
|
||||
<a href="#<%= item.repo %>"><%= item.repo %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
<% for (item of datas) { %>
|
||||
<h2 id="<%= item.repo %>"><%= item.repo %>
|
||||
<small><%= item.tag_name %></small>
|
||||
</h2>
|
||||
<p>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>文件名</th>
|
||||
<th>文件大小</th>
|
||||
<th>下载次数</th>
|
||||
<th>修改时间</th>
|
||||
<th>链接</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for(asset of item.assets){ %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<%= asset.fastgit_url %>">
|
||||
<span><%= asset.name %></span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<%= asset.size %>
|
||||
</td>
|
||||
<td>
|
||||
<%= asset.download_count %>
|
||||
</td>
|
||||
<td>
|
||||
<%= asset.updated_at %>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn-group btn-group-sm">
|
||||
<a class="btn btn-default" href="<%= asset.browser_download_url %>">
|
||||
<span>原始链接</span>
|
||||
</a>
|
||||
<a class="btn btn-default" href="<%= asset.fastgit_url %>">
|
||||
<span>fastgit</span>
|
||||
</a>
|
||||
<a class="btn btn-default" href="<%= asset.ghproxy_url %>">
|
||||
<span>ghproxy</span>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
45
views/airportsub.ejs
Normal file
45
views/airportsub.ejs
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>订阅信息</title>
|
||||
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css"
|
||||
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h3>温馨提示:</h3>
|
||||
<p>
|
||||
带filter的是过滤无效节点并精选的结果(建议优先使用)。强烈建议使用clash作为客户端,具有自动测试节点的功能和完善的规则。</p>
|
||||
<p>
|
||||
相关软件<a href="/sub/download">下载链接</a><br>
|
||||
</p>
|
||||
<p>
|
||||
<p class="card-heading">Telegram 代理</p>
|
||||
<p>
|
||||
<a href="tg://proxy?server=vipserv.ccloud.live&port=443&secret=dddd561961fea026e517764b084bd64072">域名</a>
|
||||
<a href="tg://proxy?server=167.235.77.32&port=443&secret=dddd561961fea026e517764b084bd64072">IPV4</a>
|
||||
<a href="tg://proxy?server=2a01:4f8:1c1e:eeb6::1&port=443&secret=dddd561961fea026e517764b084bd64072">IPV6</a>
|
||||
</p>
|
||||
</p>
|
||||
<h3>Your Subscribe:</h3>
|
||||
<p>
|
||||
当前账户过期时间:<%= expire %><br>
|
||||
<% for (const index in ret) { %>
|
||||
<%= index %>:
|
||||
<a href="<%= path %>&ctype=<%= index %>">
|
||||
<%= path %>&ctype=<%= index %>
|
||||
</a>
|
||||
|
||||
<br>
|
||||
<% if (ret[index]) { %>
|
||||
过去已用:<%= ret[index].total_use %> 总量:<%= ret[index].total %> 过期时间:<%= ret[index].expire %> 用量比:<%= ret[index].use_percent %>%
|
||||
日期比:<%= ret[index].date_percent %>%<br>
|
||||
<% } %>
|
||||
|
||||
<% }; %>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
102
views/danmaku.ejs
Normal file
102
views/danmaku.ejs
Normal file
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>主流视频网站弹幕文件解析接口</title>
|
||||
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) -->
|
||||
<script src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js"></script>
|
||||
<!-- bootstrap -->
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/css/bootstrap.min.css">
|
||||
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
|
||||
<!-- Cloudflare Web Analytics -->
|
||||
<script defer src='https://static.cloudflareinsights.com/beacon.min.js'
|
||||
data-cf-beacon='{"token": "938fe927c5c44a888fb536713a2f1025"}'></script>
|
||||
<!-- End Cloudflare Web Analytics -->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
主流视频网站弹幕文件解析接口
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<p>
|
||||
这是一个弹幕文件解析接口!输入你要解析的视频地址,即可获得B站弹幕形式的XML文件。<br />
|
||||
通过使用<a href="https:///www.dandanplay.com/">弹弹Play播放器</a>
|
||||
或者<a href='https://tiansh.github.io/us-danmaku/bilibili/'>bilibili ASS 弹幕在线转换项目</a>
|
||||
转换为普通字幕文件,即可在本地播放器中播放。
|
||||
</p>
|
||||
<p>
|
||||
使用方法:在当前页面添加一个查询字符串url<br />
|
||||
目前支持芒果TV,腾讯视频,优酷视频,爱奇艺视频,哔哩哔哩。<br />
|
||||
<strong>温馨提示:点击提交按钮,耐心等待就好,切勿疯狂刷新。</strong><br />
|
||||
<!-- 会对弹幕文本进行去重,去除包含xml标签的非法弹幕文本 -->
|
||||
例子:<br />
|
||||
<% urls.forEach(function(url) { %>
|
||||
<%= path %>?url=<%= url %><br />
|
||||
<% }); %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p>在下方直接输入视频网址,点击提交按钮也可解析。</p>
|
||||
<form class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">视频网址</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control" placeholder="URL" name="url">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-1 col-sm-5">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="download" checked='checked'> 强制下载
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-1 col-sm-5">
|
||||
<button type="submit" class="btn btn-primary">提交</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<hr />
|
||||
<footer class="footer">
|
||||
<div class="row">
|
||||
Powered by <a href="https://fly.io/"><strong>Fly.io</strong> </a>
|
||||
<span class="post-meta-divider">|</span>
|
||||
Reference blog:
|
||||
<!-- <a href="https://lxmymjr.github.io/contents/%E4%B8%BB%E6%B5%81%E8%A7%86%E9%A2%91%E7%BD%91%E7%AB%99%E5%BC%B9%E5%B9%95%E4%B8%8B%E8%BD%BD">主流视频网站弹幕下载</a>-->
|
||||
<a href="https://blog.home999.cc/2020/%E5%9F%BA%E4%BA%8E%E9%98%BF%E9%87%8C%E4%BA%91%E5%87%BD%E6%95%B0%E5%AE%9E%E7%8E%B0%E5%BC%B9%E5%B9%95%E6%96%87%E4%BB%B6%E8%A7%A3%E6%9E%90%E6%8E%A5%E5%8F%A3">主流视频网站弹幕下载</a>
|
||||
|
||||
</div>
|
||||
<!--
|
||||
<div class="row">
|
||||
今日访问量:{{ getpageinfo.today_visited }}<span class="post-meta-divider">|</span>
|
||||
昨日访问量:{{ getpageinfo.lastday_visited }}<span class="post-meta-divider">|</span>
|
||||
当月访问量:{{ getpageinfo.month_visited }}
|
||||
</div>
|
||||
-->
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
16
views/error.ejs
Normal file
16
views/error.ejs
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title><%= error.status %> <%= message %></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>
|
||||
<h1><%= error.status %> <%= message %></h1>
|
||||
</center>
|
||||
<hr>
|
||||
<center>Express</center>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user