Skip to main content

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 项以强制指定使用远端渲染)。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akari_bot_webrender-0.5.14.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

akari_bot_webrender-0.5.14-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file akari_bot_webrender-0.5.14.tar.gz.

File metadata

  • Download URL: akari_bot_webrender-0.5.14.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for akari_bot_webrender-0.5.14.tar.gz
Algorithm Hash digest
SHA256 7c5795c6d9c03dc796ed78fe2d0c1103977ff54430eb4c1893a03ccd2d68fbb3
MD5 40bf3f340b2b690d94ed57bb2e5ac5bb
BLAKE2b-256 cbaf01c76212ee4950841440d20cd770c7cd2000032f0193b66881e132e0410a

See more details on using hashes here.

Provenance

The following attestation bundles were made for akari_bot_webrender-0.5.14.tar.gz:

Publisher: python-publish.yml on Teahouse-Studios/akari-bot-webrender

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file akari_bot_webrender-0.5.14-py3-none-any.whl.

File metadata

File hashes

Hashes for akari_bot_webrender-0.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c8dd8d19d1c8af7a0b49b010959b77d5a22887dd11e812ead9cfac741ad42cee
MD5 d043099ac768c23d6f1ac064aa551848
BLAKE2b-256 c5a92f566237d4f22df5bc61854f92e7727316dcb83be22f21583790a6edcc96

See more details on using hashes here.

Provenance

The following attestation bundles were made for akari_bot_webrender-0.5.14-py3-none-any.whl:

Publisher: python-publish.yml on Teahouse-Studios/akari-bot-webrender

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

This release

0.5.14 This release

2 files

0.5.13

2 files

0.5.12

2 files

0.5.11

2 files

0.5.10

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.0

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page