Skip to content

[Question]how can i indicate the specific exceuteble path for chromium #136

@KeenSting0712

Description

@KeenSting0712

I run the dome code , but get error info like below, actually , i can run playwright successfully, but get problem with Botright

Installing models/objects.yaml: 100%|██████████████████████████████████████████████████| 3.81k/3.81k [00:00<00:00, 7.93MB/s]
[WARNING] Ungoogled Chromium not found. Recommended for Canvas Manipulation. Download at https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Traceback (most recent call last):
File "/data/xhs-content/demo.py", line 19, in
asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/data/xhs-content/demo.py", line 7, in main
botright_client = await botright.Botright()
File "/usr/local/lib/python3.10/dist-packages/async_class.py", line 173, in await
yield from self.create_task(
File "/usr/local/lib/python3.10/dist-packages/botright/botright.py", line 90, in ainit
self.browser = self.get_browser_engine()
File "/usr/local/lib/python3.10/dist-packages/botright/botright.py", line 216, in get_browser_engine
raise EnvironmentError("No Chromium based browser found")
OSError: No Chromium based browser found

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions