Comments (8)
I am getting this same issue using puppeteer 2.0.0
from destreamer.
Looks like puppeteer
(the thing that drives the browser interaction) doesn't work with that particular version of Chromium for whatever reason this error gives us: Error: Protocol error (Performance.enable):
. Looking at your screenshot it seems unable to connect to it (URL doesn't point to Microsoft Login page).
Try adding executablePath
and point to a different Chromium binary -
https://github.com/snobu/destreamer/blob/dev/destreamer.ts#L50
const browser = await puppeteer.launch({
executablePath: 'C:\\another\\chromium.exe'
...
The Chromium instance it launches for me on Windows (that works) is this one -
Version 78.0.3882.0 (Developer Build) (64-bit)
I believe if you play with the puppeteer version number in package.json
(e.g. "puppeteer": "1.20.0"
) it should automatically pull a newer/older version for you on npm install
. Try that first -
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md
from destreamer.
Okay perfect, changing puppeteer version number in package.json ("puppeteer": "1.20.0") solved the problem!
from destreamer.
Thanks for reporting this issue. I'll fix the version number in both dev and master branches. Cheers!
from destreamer.
did something change? it's all of a sudden giving me the same chromium crash screen now again. using "puppeteer": "^1.20.0" which was working previously
from destreamer.
Remove node_modules/
and do a fresh npm install
. It could be that Microsoft Stream has changed the id tags for the Azure Media Player elements this project is trying to hook to. If that's the case we need better logic than attempting to pick up page elements by hardcoded names.
from destreamer.
@snobu thanks. I tried this and it did not work. I ended up installing the latest chromium distribution (think it was 81) and and then added the path manually to .launch() and and that seems to work.
from destreamer.
@snobu thanks. I tried this and it did not work. I ended up installing the latest chromium distribution (think it was 81) and and then added the path manually to .launch() and and that seems to work.
Did you download the latest version from here (https://download-chromium.appspot.com/)? I tried doing that and it's still giving the same error from before. I just downloaded it and replaced the old directory: C:\destreamer-dev\node_modules\puppeteer.local-chromium\win64-706915\chrome-win
from destreamer.
Related Issues (20)
- [Feature request] Allow login with cookie
- sharepoint.com URL: "Invalid url" HOT 3
- Unhandled error HOT 1
- gpu_init.cc(481) Passthrough is not supported, GL is disabled, ANGLE is HOT 1
- [FATAL ERROR] Unhandled error or uncaught exception! - download directory
- [FATAL ERROR] Unhandled error or uncaught exception! - download directory; [ERROR] Error while downloading, retrying... HOT 3
- stopped download for no reason HOT 3
- Hi,Can I know the Code for Sherepoint links ? HOT 1
- Unable to build destramer from master branch
- destreamer does not detect aria2 on non-English Linux installations
- Build failed on M1 Mac HOT 2
- can we add feature to support proxy in the command
- What actions will destreamer leave in audit log?
- Issue with `npm install` HOT 1
- Unhandled error or uncaught exception! Please check your download directory/directories and try again.
- Q: Will destreamer work on the new Microsoft SharePoint Stream? HOT 18
- Getting destreamer working on M1/M2 macs + using all latest packages + sharepoint videos. Tested + working. HOT 6
- Q: Download with no login HOT 2
- Support for New Stream (on SharePoint) HOT 2
- Login through Edge Browser does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from destreamer.