snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.37k stars 439 forks source link

Login through Edge Browser does not work #494

Open mkostersitz opened 7 months ago

mkostersitz commented 7 months ago

OS: Windows 11 23H2

Launch command used: .\destreamer.cmd -u @microsoft.com -i https://msit.microsoftstream.com/video/ -o c:\temp -k

Made the changes to use edge as the browser. When trying to download a video I get the edge window to login, select my corp account, get a second login prompt, select the corp account again. Then the browser navigates to stream classic homepage and just sits there until it times out in the background. Verbose log ``` .\destreamer.cmd -u @microsoft.com -i https://msit.microsoftstream.com/video/ -o c:\temp -k -v [VERBOSE] Using ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers Username: @microsoft.com [WARNING] .token_cache not found. Launching headless Chrome to perform the OpenID Connect dance... Navigating to login page... [ERROR] TimeoutError: waiting for target failed: timeout 150000ms exceeded at Object.waitWithTimeout (C:\data\tools\destreamer\node_modules\puppeteer\lib\cjs\puppeteer\common\helper.js:224:26) at Browser.waitForTarget (C:\data\tools\destreamer\node_modules\puppeteer\lib\cjs\puppeteer\common\Browser.js:269:45) at DoInteractiveLogin (C:\data\tools\destreamer\build\src\destreamer.js:72:19) at async main (C:\data\tools\destreamer\build\src\destreamer.js:219:73) ```