snobu / destreamer

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

Error no -4048 after logging in the browser #425

Closed chadleong closed 2 years ago

chadleong commented 2 years ago

After providing the command:

destreamer -i "https://web.microsoftstream.com/video/xxx:=".

The browser prompted for login and after logging in, I get the following error:

[Error: EPERM: operation not permitted, unlink 'C:\Users\CHADLE~1\AppData\Local\Temp\puppeteer_dev_chrome_profile-F3DhSs\CrashpadMetrics-active.pma'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'unlink',
  path: 'C:\\Users\\CHADLE~1\\AppData\\Local\\Temp\\puppeteer_dev_chrome_profile-F3DhSs\\CrashpadMetrics-active.pma'
}
chadleong commented 2 years ago

This issue appears to be resolved after providing a direct link to the video instead of the channel.