No project description provided
Project description
AkariBot WebRender
此为小可的 WebRender 模块,主要用于渲染网页内容及浏览器代理请求等。
此模块已预置在小可的项目中,若你需要使用 WebRender 有关的内容,请在项目的 config/webrender.toml 处将 enable_web_render 设置为 true,然后使用 playwright install --with-deps chromium (或 firefox)安装浏览器及相关依赖即可(或是在配置中手动指定 browser_executable_path 路径以手动选择本地的浏览器)。
为了最大程度的网页兼容性,本项目仅支持 Chromium 内核和 Firefox 浏览器。
若你需要使用其进行二次开发,请使用你的包管理器安装 akari-bot-webrender 包,然后在你的代码中导入 akari_bot_webrender 模块。
或是作为远端部署的 WebRender 服务使用。你可以通过本项目根目录的 run_server.py 来启动一个 Web 服务器,在其它项目引入 akari_bot_webrender 后,配置 remote_webrender_url 指向该服务器地址即可。
若指定了 remote_webrender_url,则模块将在本地渲染失败时自动使用远程的 WebRender 服务进行渲染(或是配置 remote_only 项以强制指定使用远端渲染)。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file akari_bot_webrender-0.5.7.tar.gz.
File metadata
- Download URL: akari_bot_webrender-0.5.7.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
198ab87ab269e8f1232ce2a30d1073dbba5980cee49f0b925e5746612d5455c3
|
|
| MD5 |
5c80edaaa858be2994ec057c89ccf271
|
|
| BLAKE2b-256 |
d9a968a3a111d8f7eeb23c445552fc15e69210fd0d3094088c9e69910228939d
|
Provenance
The following attestation bundles were made for akari_bot_webrender-0.5.7.tar.gz:
Publisher:
python-publish.yml on Teahouse-Studios/akari-bot-webrender
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
akari_bot_webrender-0.5.7.tar.gz -
Subject digest:
198ab87ab269e8f1232ce2a30d1073dbba5980cee49f0b925e5746612d5455c3 - Sigstore transparency entry: 642660895
- Sigstore integration time:
-
Permalink:
Teahouse-Studios/akari-bot-webrender@47fab1e6215fb2e315157be0629df9e38bfaf27b -
Branch / Tag:
refs/tags/0.5.7 - Owner: https://github.com/Teahouse-Studios
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@47fab1e6215fb2e315157be0629df9e38bfaf27b -
Trigger Event:
release
-
Statement type:
File details
Details for the file akari_bot_webrender-0.5.7-py3-none-any.whl.
File metadata
- Download URL: akari_bot_webrender-0.5.7-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afc41ec599a0db4ccbe7414fce03c517c3a88e340ac6a5a4cccee999b8257ac8
|
|
| MD5 |
8017b977352ade363153ad10dd356a7c
|
|
| BLAKE2b-256 |
09680d3d16eb61f6c641cae721590a1e49778a93e264db6fca46c5ad2d1aff57
|
Provenance
The following attestation bundles were made for akari_bot_webrender-0.5.7-py3-none-any.whl:
Publisher:
python-publish.yml on Teahouse-Studios/akari-bot-webrender
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
akari_bot_webrender-0.5.7-py3-none-any.whl -
Subject digest:
afc41ec599a0db4ccbe7414fce03c517c3a88e340ac6a5a4cccee999b8257ac8 - Sigstore transparency entry: 642660913
- Sigstore integration time:
-
Permalink:
Teahouse-Studios/akari-bot-webrender@47fab1e6215fb2e315157be0629df9e38bfaf27b -
Branch / Tag:
refs/tags/0.5.7 - Owner: https://github.com/Teahouse-Studios
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@47fab1e6215fb2e315157be0629df9e38bfaf27b -
Trigger Event:
release
-
Statement type: