Hi all,
I'm messing around with PyDoll, a scraping library that's new to me anyway.
Can someone help with config?
This is my basic code in a python 3.10 venv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | #!/home/thecurrentga/.virtualenvs/pydoll_venv/bin/python
import asyncio
from pydoll.browser import Chrome
from pydoll.browser.options import ChromiumOptions as Options
url = 'https://www.google.com'
async def element_finding_examples():
options = Options()
options.binary_location = "/usr/bin/chromium"
async with Chrome(options=options) as browser:
tab = await browser.start()
await tab.go_to(url)
print(tab)
asyncio.run(element_finding_examples())
|
But I'm getting error "pydoll.exceptions.FailedToStartBrowser: Failed to start the browser"
I got that chromium path from the instructions on using Playwright on PA ... hm ... any other ideas here?
Thank you!