Comments (6)
I ran into the same issue, and it took me hours to figure out what the issue was.
Thanks to this page I simply added another argument '--no-sandbox' next to '--disable-dev-shm-usage'.
So, if anyone is like me...and has no idea what to do. I went into destreamer.ts, and scrolled down to the section between lines 47-52 (where it says "async function rentVideoForLater.....". From here, you simply add the argument I mentioned above.
async function rentVideoForLater() {
console.log('Launching headless Chrome to perform the OpenID Connect dance...');
const browser = await puppeteer.launch({
// Switch to false if you need to login interactively
headless: false,
args: ['--disable-dev-shm-usage','--no-sandbox'],;
});
const page = await browser.newPage();
console.log('Navigating to STS login page...');
Thank you so much for creating this...I just downloaded my first video from Stream, and it works perfectly. Beautiful job.
from destreamer.
On windows, after adding this flag and building it again, the error/warning is still displayed but does not terminate running. Is this expected? I don't think the download is progressing. I can see the sandbox change reflect in the transpiled file as well.
from destreamer.
It opens Chromium and it's impossible to download the video. How to solve this issue?
from destreamer.
Really happy you tracked this down and it now works for you. We should probably make --no-sandbox
the default given the security concern it bring it's not really something to worry about for our use case. Let me try to run this with --no-sandbox
on both Mac and Windows and if all goes well i'll make it the default.
from destreamer.
@AndreaLonghitano Can you provide the logs please?
from destreamer.
Closing due to inactivity, please try out the new code (git pull and build), we improved a lot of the logic.
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.