Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Is youtube-dl able to pass query string parameters to individual dash segments? #16768
Comments
|
No such option exists. |
|
Thanks for the prompt response! |
|
@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. |
|
@stinkteeth I was wondering if you could explain yourself a bit more about how you fixed this in Fiddler. |
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.