Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is youtube-dl able to pass query string parameters to individual dash segments? #16768

Closed
stinkteeth opened this issue Jun 19, 2018 · 4 comments
Closed

Comments

@stinkteeth
Copy link

@stinkteeth stinkteeth commented Jun 19, 2018

I apologize in advance if this is a simplistic question that should be obvious. I searched and checked the youtube-dl documentation as carefully as I could before posting this issue. Again, please forgive me.

Suppose that a dash manifest (mpd) url contains query string parameters as part of the manifest url that are necessary for downloading the manifest, Something like this:

hxxp://someurl.com/manifest.mpd?auth=0000

So, youtube-dl is able to download the manifest mpd successfully, but then when it goes to download the individual m4s dash segments, there is a 403 error because each of the m4s segments requires the "?auth=0000" parameter as part of the url to each segment, and youtube-dl does not pass this parameter when it attempts to download each individual m4s segment.

I got around this using a filter in fiddler. But is there some option that will cause youtube-dl to pass the query string parameters (provided with the mpd url) to each of the m4s segment urls?

I thought perhaps --external-downloader-args ARGS might work, but no.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 19, 2018

No such option exists.

@stinkteeth
Copy link
Author

@stinkteeth stinkteeth commented Jun 19, 2018

Thanks for the prompt response!

@stinkteeth stinkteeth closed this Jun 19, 2018
@aaronraimist
Copy link

@aaronraimist aaronraimist commented Jun 22, 2018

@dstftw is this on the radar for the future? I would love to get this feature for HLS. Admittedly I have very little understanding of how youtube-dl works but this doesn't seem like a very difficult issue to solve. If this issue could be at least reopened to keep track of the request that would be great.

@devrnt
Copy link

@devrnt devrnt commented Feb 10, 2019

@stinkteeth I was wondering if you could explain yourself a bit more about how you fixed this in Fiddler.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.