SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
333 stars 105 forks source link

Use allowlisted-extension-id instead whitelisted-extension-id #96

Closed swaniris closed 1 year ago

swaniris commented 1 year ago

Since October 2021, Chrome's whitelisted-extension-id option has been deprecated. It was replaced by allowlisted-extension-id. With the existing key, the latest chromium does not run the Puppeteer with below messages.

[34622:259:0328/153354.796775:FATAL:chrome_content_browser_client.cc(2903)] "whitelisted-extension-id" switch is deprecated, please use "allowlisted-extension-id" instead

ref:

SamuelScheit commented 1 year ago

Thank you very much for your contribution. I've published your PR changes in the latest version:

npm i puppeteer-stream@latest