N3RDN/JN/dr_py/readme.md
2023-08-04 22:37:02 +08:00

81 lines
4.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[comment]: <> (#### 🚀dr模板的python实现🚀)
<div align="center">
<h4>🚀第二派-dr模板的python实现🚀</h4>
<a href="https://alist.nn.ci"><img height="100px" alt="logo" src="https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/static/img/icon.png"/></a>
<p><em>🗂A webServer convert web and x5 movie sites to cms api data</em></p>
<a href="https://github.com/hjdhnx/dr_py/releases">
<img src="https://img.shields.io/badge/version-3.9.45-blue" alt="latest version" />
</a>
<a href="https://github.com/hjdhnx/dr_py/issues">
<img src="https://img.shields.io/badge/issues-3-orange" alt="discussions" />
</a>
<a href="https://wwi.lanzoup.com/ijsmt10tgh5e">
<img src="https://img.shields.io/badge/蓝奏云下载-3.9.45b1-blue" alt="Downloads" />
</a>
<a href="https://hub.docker.com/repository/docker/hjdhnx/drpy">
<img src="https://img.shields.io/badge/docker镜像主页-drpy-blue" alt="Downloads" />
</a>
<a href="https://github.com/hjdhnx/dr_py/blob/main/LICENSE">
<img src="https://img.shields.io/badge/license-AGPL3.0-orange" alt="License" />
</a>
<a href="https://wwi.lanzoup.com/b041hfrwh">
<img src="https://img.shields.io/badge/coverage(3p5h)-99.9%25-yellowgreen" alt="License" />
</a>
</div>
## 🚀特性
1. dr模板的python实现,可直接用于tv_box和pluto软件数据源使用,无需懂java知识也能使用
2. 参考了海阔视界dr模板设计思路
3. 参考tv_box的t4项目思路重新设计了cms接口
#### python3.6-3.8完美运行(3.9以上不支持linux进程启动)
<a href="./doc/安卓本地搭建说明.md" alt="install">
<img src="https://img.shields.io/badge/install support-termux|windows|ubuntu|python3.6~python3.8-yellowgreen" />
</a>
[更新日志](./doc/更新日志.md) | [C#版drpy](https://github.com/flash168/Peach) | [推荐PC端使用zyplayer新版](https://github.com/Hiram-Wong/ZyPlayer/releases)
[android&linux&macos搭建教程](./doc/安卓本地搭建说明.md) | [windows搭建教程](./doc/windows搭建说明.md)
[写源教程](./doc/写源教程.md) | [js压缩.min.js](./doc/js压缩.md)
[十分钟学会python](https://www.w3cschool.cn/iqmrhf/wngzuozt.html)
---
[JS引擎的选择](./doc/python最强js引擎.md)
[我的豆瓣](./static/img/豆瓣.png)
[爱看不看](https://jason-ray.notion.site/jason-ray/Pluto-TVB-706da08332804a19ab012b4f8385df64)|[goorm](./doc/道长乱说.md)|[大佬地盘](./doc/大佬友链.md)
[其他语言实现drpy-cms接口](./doc/接口文档.md)
[dr项目QQ官群](https://qm.qq.com/cgi-bin/qm/qr?k=H2KwcXrMdiR5M2blHR5gjZzPfN_S3N_C&jump_from=webapi)
#### 项目修复
进入容器drpy项目根目录执行以下代码
```shell
cd utils && wget https://ghproxy.liuzhicong.com/https://raw.githubusercontent.com/hjdhnx/dr_py/main/utils/update.py -O update.py
```
执行后重启9001或者docker即可正常检测升级
### 谷歌浏览器跨域支持嗅探
```text
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-site-isolation-trials --disable-web-security --disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure --user-data-dir=C:\Program Files\Google\Chrome\Application
```
#### 参考地址
[参考T4](https://github.com/sec-an/TV_Spider/blob/main/spider/sp360.py)
[golang最好的js引擎-goja](https://github.com/dop251/goja)
[安卓最好的js引擎](https://github.com/HarlonWang/quickjs-wrapper)
[flutter最好的js引擎-dart_quickjs](https://pub.flutter-io.cn/packages/dart_quickjs)
[dockerfile教程](https://blog.csdn.net/qq_46158060/article/details/125718218)
[获取本地设备信息](https://blog.csdn.net/cui_yonghua/article/details/125508991)
[获取本地设备信息](https://m.jb51.net/article/140716.htm)
[sqlite3使用教程](https://m.yisu.com/zixun/375448.html)
[远程网站](http://cms.nokia.press/index)
[本地网站](http://192.168.10.99:5705/index)
[gevent下载地址](https://pypi.org/project/gevent/#files)
[aarch64的cp310](http://pan.nokia.press/d/hiker/whl/gevent-21.12.0-cp310-cp310-linux_aarch64.whl)
[chatgpt](./doc/chatgpt搭建教程.md)