destreamer icon indicating copy to clipboard operation
destreamer copied to clipboard

Administrator view

Open belasor opened this issue 4 years ago • 9 comments

Hey everyone,

I need to download around 40 Videos from a user. I can access all the videos as a admin, however when I want to download them with my account through destreamer I´m getting an error message.

Downloading a video from my uploads is no problem.

Unhandled error! Timeout or fatal error, please check your downloads directory and try again

Is that currently not support?

belasor avatar May 28 '20 09:05 belasor

Can you check if you get more error detail if you pass -v? If you can watch a video in your browser, then destreamer should be able to download it if you log in with the same credentials.

snobu avatar May 28 '20 13:05 snobu

Sure, I just tried it again, and it is not working

 { Error: Request failed with status code 403
    at createError (C:\Users\c\Desktop\Streamdownloader\destreamer\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\c\Desktop\Streamdownloader\destreamer\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\c\Desktop\Streamdownloader\destreamer\node_modules\axios\lib\adapters\http.js:236:11)
    at IncomingMessage.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  config:
   { url:
      'videos/e4c4d471-1596-442e-adc6-dcc918eb383f?api-version=1.4-private',
     method: 'get',
     headers:
      { Accept: 'application/json, text/plain, */*',
        'User-Agent': 'destreamer/2.0 (Hammer of Dawn)',
        Authorization:
         'Bearer 
     baseURL: 'https://euwe-1.api.microsoftstream.com/api/',
....

Unhandled error! Timeout or fatal error, please check your downloads directory and try again

belasor avatar May 28 '20 13:05 belasor

That's a 403 Forbidden HTTP response coming back from the MS Stream API. Destreamer won't be able to download that video, at least not with the credentials that have been used in the pop-up browser window.

snobu avatar May 28 '20 14:05 snobu

Yeah I know, that is why I'm asking the question.

I'm accessing the video as Admin, so I can see the videos and also play the videos from other users.

The downloading is working fine, when I'm using the credentials of the user, but as a admin I'm receiving the error above.

belasor avatar May 28 '20 16:05 belasor

It may be that as an Admin there is a slightly different API approach that we don't know of @snobu? I'll see if I can upload something and take a look

lukaarma avatar Jun 06 '20 07:06 lukaarma

Hi everyone.

I have the same issue here. As a Global Admin, I wan to download all videos from all users, but I get the 403 Forbidden. But when I log on to Stream Website with this global admin user, I am able to access and download all videos.

If someone have any updates related to this issue, please let me know.

Best regards,

Bruno.

bruno-telstar avatar Jun 25 '20 01:06 bruno-telstar

I found out I can upload videos too! I'll try to reproduce the issue and I'll see if I can come up with something @bruno-telstar

Stay tuned

Update

no dice :/ It worked flawless even when I owned the video and I just realised writing this how dumb I was because owner != admin Well I can't help you since i don't have a way to get admin privileges anytime soon

lukaarma avatar Jun 25 '20 20:06 lukaarma

For a workaround, as an Admin you can download videos already through the webpage under the video options.

flamingghost avatar May 04 '21 10:05 flamingghost

For a workaround, as an Admin you can download videos already through the webpage under the video options. yeah, but the problem is, the method is quite slow. We all uses destreamer because it is faster than the manual way

syakirazmi avatar Sep 12 '21 14:09 syakirazmi