Can't update youtube-dl

8 Antworten [Letzter Beitrag]
calher

I am a member!

Offline
Beigetreten: 06/19/2015

I can't update youtube-dl and am trying to get a video.

Could somebody provide a direct link to the WebM of
https://www.youtube.com/watch?v=LuRBNeRR5Ug for me so I can download it?

aloniv

I am a translator!

Offline
Beigetreten: 01/11/2011

Try here:

invidio.us/watch?v=LuRBNeRR5Ug

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> Could somebody provide a direct link to the WebM of

Why not use Invidious? You can either right-click the video while it's
playing and select "Save Video As" or use the "Download" button.

Dmitry Alexandrov
Offline
Beigetreten: 03/07/2019

Cal <name at domain> wrote:
> I can't update youtube-dl

Why? It works for me.

> Could somebody provide a direct link to the WebM of https://www.youtube.com/watch?v=LuRBNeRR5Ug for me so I can download it?

YouTube can. No, srsly, they are not really concealed:

Dmitry Alexandrov
Offline
Beigetreten: 03/07/2019

I again bumped into Drupal, which eats substantial parts of my messages, did I? Okay, here’s a simplified copy:

Cal <name at domain> wrote:
> I can't update youtube-dl

Why? It works for me.

> Could somebody provide a direct link to the WebM of https://www.youtube.com/watch?v=LuRBNeRR5Ug for me so I can download it?

YouTube can. No, srsly, they are not really concealed:

» let ytInfoUri = '/get_video_info?&format=json&video_id=' + new URLSearchParams(location.search).get('v');
» let ytResp;
» fetch(ytInfoUri)
.then(resp => resp.text())
.then(text => { ytResp = new URLSearchParams(text); });
» let playerResp = JSON.parse(ytResp.get('player_response'));
» playerResp.streamingData.formats
.filter(i => i.mimeType.startsWith('video/webm'))
.reduce((acc, elt) => acc.height > elt.height ? acc : elt) // find max height video
.url
← "https://r5---sn-n8v7kne6.googlevideo.com/videoplayback?fvip=18&itag=43&requiressl=yes&ei=Fa-KXJCGDJez7QTd44y4BA&mn=sn-n8v7kne6%2Csn-n8v7znse&c=WEB&gir=yes&mm=31%2C29&dur=0.000&id=o-AMHMp9zKEd_Dnk0YTo5TPiEghNOpmsYFnygffSp9vrik&source=youtube&ip=213.87.153.13&clen=1294879379&mv=m&mt=1552592542&ms=au%2Crdu&expire=1552614261&signature=B0B0E48951C11CDD580F83F7BEF9867D7D71775A.9AE3D434890BC5C00C2F839A0EA7CF3BF903D256&lmt=1529729401574808&ratebypass=yes&mime=video%2Fwebm&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&key=yt6&nh=IgpwcjA0LnN2bzAzKgkxMjcuMC4wLjE%2CIgpwcjA2LnN2bzA2KgkxMjcuMC4wLjE&pl=19&ipbits=0&initcwndbps=407500"

As you see, returned link is restricted to my IP address, so no one else can.

;-)

calher

I am a member!

Offline
Beigetreten: 06/19/2015

I received both messages. What language is that? JavaScript console?

Dmitry Alexandrov
Offline
Beigetreten: 03/07/2019

Cal <name at domain> wrote:
> I received both messages.

Sure you did, if you read the list in a proper MUA, not via Drupal interface at https://trisquel.info.

> What language is that?

Lispy ECMAScript 6. :-)

> JavaScript console?

Yep, F12 in Mozilla’s browser, when the youtube.com page in question is opened.

But please note, that I was _not_ suggesting you to write your own tool by reworking my scrawls; just tried to show clearly that Youtube is not so DRM’ed as one might to think.

I believe, there should be plenty ready-to-use Webextensions on AMO or Greasemonkey userscripts, that do the same work. Never used them, however, as youtube-dl(1) is much more universal (it supports hundreds of public and private video hostings, you know) and already integrated into mpv(1).

--
P. S. I have to ask again, why do you mail me only? Do you believe, that our dialogues are not worth to be public? If so, let me disagree with you at least in this very case. In any event, feel free to remail my answer to the list as well.

calher

I am a member!

Offline
Beigetreten: 06/19/2015

Your signature does not show up in my quotation when I hit Reply.

--
P. S. I have to ask again, why do you mail me only? Do you believe, that our dialogues are not worth to be public? If so, let me disagree with you at least in this very case. In any event, feel free to remail my answer to the list as well.

I thought it was going to the list. I just switched to IceDove recently
and thought reply to list was default like in Evolution.

You may repost all this to the list. I don't know how, and I don't know
what all has been missed on the list.

Dmitry Alexandrov
Offline
Beigetreten: 03/07/2019

Cal <name at domain> wrote:
> Your signature does not show up in my quotation when I hit Reply.

Postscriptum, you mean. Hm. Yes, that seems to be a default of many useragents. Thanks, it may worth to rethink my habit of including anything repliable into P. S.

>> P. S. I have to ask again, why do you mail me only? Do you believe, that our dialogues are not worth to be public? If so, let me disagree with you at least in this very case. In any event, feel free to remail my answer to the list as well.
>
> I thought it was going to the list. I just switched to IceDove recently and thought reply to list was default like in Evolution.

Yeah, almost any of MUAs is an UX hell. Sane default is ‘Reply to all’, but I don’t know any program besides Gnus, that sticks to it.

> You may repost all this to the list.

Done.

> I don't know how

That’s funny, but it seems that Thunderbird by itself indeed does no provide you a way [1], you have to install an extension [2] for that.

> and I don't know what all has been missed on the list.

Besides this one, also <name at domain>.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=12916#c363
[2] https://addons.thunderbird.net/en-US/thunderbird/addon/mailredirect/