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.
Add multiple link generation in a single command #5209
Comments
|
Just use |
|
It should works but a cleaner version would be better.There is a lot of info that is not needed |
|
All this info is extracted anyway, and it's unreasonable to make options to list any particular part of it. Moreover, suggested |
|
I am fine with any other syntax you guys may come up with but here i am What regex can be used to extract the specific infos On Sun, Mar 15, 2015 at 3:46 PM, Sergey M. notifications@github.com wrote:
|
|
If you are using a shell script, then you just need to use jq:
|
|
I am using php :) On Sun, Mar 15, 2015 at 4:58 PM, Jaime Marquínez Ferrándiz <
|
|
I don't use php, but it seems to have json support: http://php.net/manual/en/ref.json.php. |
It would be nice for youtube-dl to to be able to generate multiple direct links for different quality of the same video
for e.g
youtube-dl -g -f 18 22 43 https://www.youtube.com/watch?v=NrXdauEv9HYwould generate urls for the different itags.Each url could be separated by a special character in the output.
Advantages
No need to call youtube-dl multiple times for different qualities of the same video will save CPU and decrease the chance of getting
Too Many requestas the same page won't be requested from youtube multiple times.