[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Free-Software Youtube downloader
From: |
Dmitry Alexandrov |
Subject: |
Re: Free-Software Youtube downloader |
Date: |
Mon, 14 Oct 2019 00:58:30 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Alexandre François Garreau <address@hidden> wrote:
> Please correct me right away if I’m wrong (just posting that right away upon
> reading) —I’d be happy to be— but currently there’s no free-software youtube
> downloader as youtube makes them need to execute autogenerated non-free
> javascript to get essential information to download them, isn’t it?
No, youtube.com does not really conceal direct links to the video. On the
contrary, is provides them in machine-readable way. As a proof of concept, try
this piece of mess in context of a page:
fetch('/get_video_info?&format=json&video_id='
+ new URLSearchParams(location.search).get('v'))
.then(resp => resp.text())
.then(text => open(JSON.parse(new URLSearchParams(text)
.get('player_response'))
.streamingData.formats
.filter(i => i.mimeType.startsWith('video/webm'))
// find max height video
.reduce((acc, elt) => acc.height > elt.height ? acc : elt)
.url));
I do not know, how youtube-dl works, though.
signature.asc
Description: PGP signature
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, (continued)
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Jean Louis, 2019/10/12
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Jean Louis, 2019/10/12
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Kete, 2019/10/13
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Alexandre François Garreau, 2019/10/13
- Free-Software Youtube downloader [Was: Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew], Alexandre François Garreau, 2019/10/13
- Re: Free-Software Youtube downloader, Jean Louis, 2019/10/13
- Re: Free-Software Youtube downloader [Was: Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew], Jonathan Carter, 2019/10/13
- Re: Free-Software Youtube downloader [Was: Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew], Alexandre François Garreau, 2019/10/13
- Re: Free-Software Youtube downloader, Jean Louis, 2019/10/14
- Re: Free-Software Youtube downloader, Jonathan Carter, 2019/10/14
- Re: Free-Software Youtube downloader,
Dmitry Alexandrov <=
- Re: Free-Software Youtube downloader, Richard Stallman, 2019/10/14
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, ng0, 2019/10/10
- Reminder to remain civil, Ricardo Wurmus, 2019/10/10
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Ruben Safir, 2019/10/11
- Message not available
- Message not available
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Jean Louis, 2019/10/12
- Message not available
- Message not available
- Message not available
- Re: Proposal to remove the off-topic, not free software related thoughtcrime accusations from the Guix project pages on GNU.ORG websitew, Jean Louis, 2019/10/12