destreamer: Error when using multiple download with list.txt
So, I’ve tried the new functionality for downloading a whole bunch of videos from a text file. I’ve put the urls in the text file, one url per each line like it says on the instruction of readme.
I launched this:
node destreamer.js --username MYUSERNAME --outputdirectory "videos" \ --videoUrls list.txt
(Also tried using the correct escape character for powershell, same result), I get this:
Video URLs: [ 'list.txt' ]
Username: MYUSERNAME
Output Directory: videos
Video/Audio Quality: undefined
Using youtube-dl version 2020.03.08
Using ffmpeg version git-2020-03-15-c467328 Copyright (c) 2000-2020 the FFmpeg developers
Launching headless Chrome to perform the OpenID Connect dance...
Navigating to STS login page...
We are logged in.
Got cookie. Consuming cookie...
Calling Microsoft Stream API...
ApiGatewayUri: https://euwe-1.api.microsoftstream.com/api/
ApiGatewayVersion: 1.3-private
Fetching title and HLS URL...
Error when calling Microsoft Stream API: 400 undefined400
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>
And chromium crash, not even downloading the first video. It seems an error calling microsoft stream API… is it a bug?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (6 by maintainers)
Commits related to this issue
- Fix txt file parsing (#33), improve logs and add more URL checks — committed to kylon/nanoDestreamer by deleted user 4 years ago
- Fix txt file parsing (#33), improve logs and add more URL checks — committed to kylon/nanoDestreamer by deleted user 4 years ago
- Fix txt file parsing (#33) — committed to kylon/nanoDestreamer by deleted user 4 years ago
- Merge pull request #35 from kylon/fix33 Fix txt file parsing (#33) — committed to snobu/destreamer by snobu 4 years ago
Fixed in https://github.com/snobu/destreamer/commit/f01ef06b6ac557b70060d34b778bc7dcb8a1c98c. Unit tests added. Kudos to @kylon. Thanks!
Ok done, guess now you’ve fixed it, seems clean