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.
[youtube][bug][2016.03.27] bestvideo/bestaudio can vary on same link #9031
Comments
|
FYI, you can do something like this: It's a lot easier.. |
|
Didn't knew that, thanks. |
|
It may vary. YouTube doesn't roll out all the formats immediately when the video appears but instead formats appear as they format encoding finishes or some other criteria. |
|
I might should have added, that I wasn't talking about new videos. |
|
It could be.. Anyway, if there is anything YouTube modifies when processing requests, it's on the server-side, I don't think that any script or tool or program running on the client can do something about it. |
Hey.
I recently noticed that a command like this:
youtube-dl -f 'bestvideo+bestaudio'
can vary on what formats get downloaded on the same link.
I can't provide any logs since it seems to be random when it occurs based on which dash manifest returned an error.
My guess is, it's related to this code segment.
https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L1629-L1664
The version is 2016.03.27.