Open ghost opened 4 years ago
Yeah, think the dependancy I am working with broke. I might have more luck changing over to talking to chromium directly via a WebSocket like how Selenium does.
Seems this issues is still ongoing.
I think this might be related?
> Connect-WebScraper -Url bbc.com
Connect-WebScraper : One or more errors occurred.
At line:1 char:1
+ Connect-WebScraper -Url bbc.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-WebScraper], AggregateException
+ FullyQualifiedErrorId : System.AggregateException,Scraperion.ConnectWebScraper
> $error[0].Exception.InnerException.ToString()
System.IO.FileNotFoundException: Failed to launch chrome! path to executable does not exist
File name: 'C:\Users\<user-name-elided>\.local-chromium\Win64-564778\chrome-win32\chrome.exe'
I have chrome installed, but not there. I can't seem to find a way to (via Scraperion) influence PuppeteerSharp to use the extant Chrome (which was just installed via chromesetup.exe
from Google.).
(Attempting to bodge with a symlink between expected location and extant location causes a different error)
CategoryInfo : NotSpecified: (:) [Connect-WebScraper], AggregateException FullyQualifiedErrorId : System.AggregateException,Scraperion.ConnectWebScraper
I even built it from source in visual studio and couldn't figure it out.
Awesome stuff though!