snobu / destreamer

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

Invalid url and errors (broadcastPlaybackScreen) #408

Closed axxion closed 2 years ago

axxion commented 3 years ago

i have only this link for video: https://teams.microsoft.com/b96030df-1fa2-4cce-974d-768e8d5c7520 but when try to download video with this link giving "[WARNING] Invalid url"

my video files link like that: https://teams.microsoft.com/_#/broadcastPlaybackScreen and in console showing video details like that: <video id="teamsDefaultPlayer_AzureHtml5JS_api_1449" class="vjs-tech" oncontextmenu="return false;" tabindex="-1" aria-hidden="true" preload="auto" src="blob:https://teams.microsoft.com/262e9856-8760-4262-9e67-c29ed81d142e"></video>

how to find video true download link?

[WARNING] Invalid url 'https://endpoint1-s02prdneucompsvc.prd.bmc.cdn.office.net/35a0f749-d0d5-4f31-9161-39335a8ced57/21076971-4bd6-49a8-922a-300415cb4e02.ism/QualityLevels(1700000)/Fragments(video=6700333333,format=mpd-time-csf)', skipping..
Downloading video info, this might take a while...
Trying to launch and connect to aria2c...

Connected to aria2 daemon!
Exiting, this will take some seconds...

[ERROR] Error
    at DownloadManager.close (C:\snapshot\destreamer-aria2c_forRealNow\build\src\DownloadManager.js:109:23)
    at async downloadVideo (C:\snapshot\destreamer-aria2c_forRealNow\build\src\destreamer.js:265:5)
    at async main (C:\snapshot\destreamer-aria2c_forRealNow\build\src\destreamer.js:300:5)

[FATAL ERROR] Unhandled error or uncaught exception!
Please check your download directory/directories and try again.
If this keep happening please report it on github "https://github.com/snobu/destreamer/issues"

edit: someone having same problem here and not any solution have: https://github.com/snobu/destreamer/issues/132

lukaarma commented 2 years ago

yeah it's a duplicate of #132 and we don't support that site, in the future if I will have more time I'll finish that downloader, but don't hold your breath as I have close to 0 time and working on a SharePoint branch