Skip to content

Commit f3ce087

Browse files
committed
unified search.html, update README.md for hot backup
1 parent 4c4b0cb commit f3ce087

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ python /path/to/YYeTsBot/yyetsbot/bot.py
160160

161161
# 归档资源下载
162162

163-
* 包含了2021年1月11日为止的人人影视最新资源,有兴趣的盆友可以用这个数据进行二次开发[戳我查看详情](https://t.me/mikuri520/668)
163+
* 包含了2021年1月11日为止的人人影视最新资源,MySQL为主。有兴趣的盆友可以用这个数据进行二次开发[戳我查看详情](https://t.me/mikuri520/668)
164164
* 字幕侠离线数据库 [从这里下载](https://t.me/mikuri520/715),这个数据比较粗糙,并且字幕侠网站还在,因此不建议使用这个
165165

166166
# 开发
@@ -187,8 +187,7 @@ python /path/to/YYeTsBot/yyetsbot/bot.py
187187
* 捐助我,[爱发电?](https://afdian.net/@BennyThink)
188188

189189
# 感谢
190-
191-
* yaofei yang
190+
[Thanks](THANKS.md)
192191

193192
# 持续部署
194193

THANKS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Thannks
2+
Special thanks to these following supporters!
3+
4+
* yaofei yang
5+
* 人人影视伴我成长
6+
*
7+
* 谢谢
8+
* 快播学长
9+
10+
以及所有点赞、赞助和分享的可爱的你们!

web/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# web端
22

3-
**注意:源代码中包含Google Analytics分析代码,`index.html`, `search.html``resource.html`如果自己不熟要记得去除哦**
3+
**注意:源代码中包含Google Analytics分析代码,`index.html`, `search.html``resource.html`如果自己使用,要记得去除哦**
44

55
# requirements
66

@@ -18,8 +18,8 @@
1818
2. 运行 `python prepare/convert_db.py`
1919

2020
## 方法2:使用我的导出
21-
22-
[看这里](https://t.me/c/1375651700/2448),然后导入到MongoDB
21+
* [冷数据看这里](https://t.me/c/1375651700/2448),然后导入到MongoDB
22+
* [实时数据看这里](https://yyets.dmesg.app/dump.gz),每天凌晨2点更新
2323

2424
# 运行
2525

web/data/1.gz

516 Bytes
Binary file not shown.

web/search.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
text-align: center;
4141
}
4242

43+
a {
44+
text-decoration: none;
45+
}
4346

4447
</style>
4548
</head>
@@ -53,9 +56,10 @@ <h2>
5356
<a href="https://afdian.net/@BennyThink" target="_blank"><img src="/img/afdian.png" alt="爱发电"
5457
style="height: 55px !important;width: 200px !important;"></a>
5558
</h2>
56-
<h2>这是我偷过来的,嘿嘿😝</h2>
57-
<h2><a style="text-decoration: none;color: deepskyblue" href="https://t.me/yyets_bot">这个 Telegram Bot</a>
58-
里去使用,或者使用下方搜索框</h2>
59+
<h2>本站数据库<b><a style="color: skyblue" href="https://t.me/mikuri520/668">永久开源免费</a></b><abbr
60+
style="text-decoration: none" title="你也爬不下来啊">请不要做无意义的爬虫。</abbr>
61+
<a href="help.html" style="color: deepskyblue">使用帮助?</a>
62+
</h2>
5963
<form action="search.html">
6064
<label>
6165
<input name="kw" id="kw" type="text">

web/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ class RunServer:
344344
(r'/api/metrics', MetricsHandler),
345345
(r'/api/blacklist', BlacklistHandler),
346346
(r'/', IndexHandler),
347-
(r'/(.*\.html|.*\.js|.*\.css|.*\.png|.*\.jpg|.*\.ico|.*\.gif|.*\.woff2)', web.StaticFileHandler,
347+
(r'/(.*\.html|.*\.js|.*\.css|.*\.png|.*\.jpg|.*\.ico|.*\.gif|.*\.woff2|.*\.gz)', web.StaticFileHandler,
348348
{'path': static_path}),
349349
]
350350

0 commit comments

Comments
 (0)