youtube-dl

16 réponses [Dernière contribution]
ewlabonte

I am a member!

Hors ligne
A rejoint: 08/29/2009

There's an old version of youtube-dl in the repositories. It doesn't work with most youtube videos. The latest version is 2012.10.09 and it works.

MagicFab
Hors ligne
A rejoint: 12/13/2010

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 12-10-17 09:48 PM, name at domain a écrit :
> There's an old version of youtube-dl in the repositories. It doesn't work with most youtube
videos. The latest version is 2012.10.09 and it works.

Just:
sudo youtube-dl -U

F.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: PGP/Mime available upon request
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB/bYAACgkQfUcTXFrypNXC1QCgi7SBKoHazzrcPPY9P5GQ3CUv
X0QAoKP5JdaXfeEp9PzHMvDQRlc5UiqD
=f2XW
-----END PGP SIGNATURE-----

t3g
t3g
Hors ligne
A rejoint: 05/15/2011

I use this Greasemonkey script and modify to offer WebM in addition to MP4: http://userscripts.org/scripts/show/25105

aloniv

I am a translator!

Hors ligne
A rejoint: 01/11/2011

UnPlug is a Mozilla browser plugin which finds videos on many websites including YouTube (it lets you download all the different versions of the video that are available such as 720P, 480P and WebM and H.264 formats).

aliasbody
Hors ligne
A rejoint: 09/14/2012

You can:

1 - Install the deb corresponding to the newest version (but it may depend on unavailable python packages).

2 - Download it from the github already compiled : https://github.com/rg3/youtube-dl/raw/master/youtube-dl

and then just to this :

sudo chmod +x /home/user/Downloads/youtube-dl
sudo mv /home/user/Downloads/youtube-dl /usr/bin/youtube-dl

And you are good to go.

PS: I've noticed that the older versions of youtube-dl could be open with a text editor but now anymore.. Don't know if it was a choice of compiling or a license change but I'm more about to believe in the first one since I don't see any change in the license.

Red Baptist
Hors ligne
A rejoint: 10/16/2012

On Tue, 2012-10-30 at 20:00 +0100, name at domain wrote:
> You can:
>
> 1 - Install the deb corresponding to the newest version (but it may depend on
> unavailable python packages).
>
> 2 - Download it from the github already compiled :
> https://github.com/rg3/youtube-dl/raw/master/youtube-dl
>
> and then just to this :
>
> sudo chmod +x /home/user/Downloads/youtube-dl
> sudo mv /home/user/Downloads/youtube-dl /usr/bin/youtube-dl
>
> And you are good to go.

I did these and just to make sure I have the latest version I did:

youtube-dl -U

--
Sent from Trisquel Gnu/Linux https://trisquel.info

Red Baptist
Blog: http://redbaptist.parlementum.net
Microblog: https://parlementum.net/redbaptist
XMPP: redbaptist [at] riseup [dot] net

aliasbody
Hors ligne
A rejoint: 09/14/2012

I tried that and I had problems. Youtube-dl stopped working :s.. It only works after updating to a newer version. The one available on the Trisquel's repository doesn't allow this anymore.

Red Baptist
Hors ligne
A rejoint: 10/16/2012

On Wed, 2012-10-31 at 12:46 +0100, name at domain wrote:
> I tried that and I had problems. Youtube-dl stopped working :s..

That is curious. I just tried mine a couple of hours ago and it worked.
Let me try again.

Red Baptist
Hors ligne
A rejoint: 10/16/2012

On Wed, 2012-10-31 at 12:46 +0100, name at domain wrote:
> I tried that and I had problems. Youtube-dl stopped working :s..

Can you post what errors you're getting?

--
Sent from Trisquel Gnu/Linux https://trisquel.info

Red Baptist
Blog: http://redbaptist.parlementum.net
Microblog: https://parlementum.net/redbaptist
XMPP: redbaptist [at] riseup [dot] net

Red Baptist
Hors ligne
A rejoint: 10/16/2012

On Wed, 2012-10-31 at 12:46 +0100, name at domain wrote:
> I tried that and I had problems. Youtube-dl stopped working :s..

I was able to download a video from youtube

youtube-dl -o test4.ogg "http://www.youtube.com/watch?v=ZDiSg42XaWI"

MagicFab
Hors ligne
A rejoint: 12/13/2010

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 12-10-31 07:33 AM, Red Baptist a écrit :
> On Tue, 2012-10-30 at 20:00 +0100, name at domain wrote:
>> You can:
>>
>> 1 - Install the deb corresponding to the newest version (but it may
depend on
>> unavailable python packages).
>>
>> 2 - Download it from the github already compiled :
>> https://github.com/rg3/youtube-dl/raw/master/youtube-dl
>>
>> and then just to this :
>>
>> sudo chmod +x /home/user/Downloads/youtube-dl
>> sudo mv /home/user/Downloads/youtube-dl /usr/bin/youtube-dl
>>
>> And you are good to go.
>
> I did these and just to make sure I have the latest version I did:
>
> youtube-dl -U
>
Actually, that'd be:

sudo youtube-dl -U

F.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: PGP/Mime available upon request
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCReTYACgkQfUcTXFrypNU28wCeNG2FiWwpLugrpQuJw6HZA4ZJ
mn0AoMB6PprAZQLrF9ZpbIe6tpUWmdGu
=VNud
-----END PGP SIGNATURE-----

aliasbody
Hors ligne
A rejoint: 09/14/2012

This is what happens here:

aliasbody@BodyTrisquel-PC:~$ youtube-dl --version
2011.08.04
aliasbody@BodyTrisquel-PC:~$ youtube-dl -U
ERROR: no write permissions on /usr/bin/youtube-dl
aliasbody@BodyTrisquel-PC:~$ sudo youtube-dl -U
Updating to latest stable version...
Updated to version <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">

0
1
<META HTTP-EQUIV="Refresh" CONTENT="0.1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
23
4
567
8
aliasbody@BodyTrisquel-PC:~$ youtube-dl --version
/usr/bin/youtube-dl: linha 1: Erreur de syntaxe près du symbole inattendu « newline »
/usr/bin/youtube-dl: linha 1: `<!DOCTYPE html>
aliasbody@BodyTrisquel-PC:~$ youtube-dl
/usr/bin/youtube-dl: linha 1: Erreur de syntaxe près du symbole inattendu « newline »
/usr/bin/youtube-dl: linha 1: `<!DOCTYPE html>'
aliasbody@BodyTrisquel-PC:~$ youtube-dl --help
/usr/bin/youtube-dl: linha 1: Erreur de syntaxe près du symbole inattendu « newline »
/usr/bin/youtube-dl: linha 1: `<!DOCTYPE html>'
aliasbody@BodyTrisquel-PC:~$ sudo youtube-dl --help
/usr/bin/youtube-dl: 1: Syntax error: newline unexpected
Alexander Stephen Thomas Ross
Hors ligne
A rejoint: 09/17/2012

sudo echo 'youtube-dl -t -c --console-title --prefer-free-formats
--srt-lang en --write-srt "$@" && exit' >/usr/local/bin/vdl

If there is no subtitle then youtube-dl moans and does not download the
video.

andrew
Hors ligne
A rejoint: 04/19/2012

It looks like the youtube-dl updater has replaced itself with a HTML page (perhaps a 404) instead of another youtube-dl program.

Probably the best way to solve it would be to delete that youtube-dl binary and redownload from the youtube-dl website, manually.

aliasbody
Hors ligne
A rejoint: 09/14/2012

This is what I've done to solve the problem. I was just being curious about the fact that most people had actually did this (with the original Trisquel package version ?).

abualijawad
Hors ligne
A rejoint: 10/28/2012

I did install it and upgrade it.. it works perfectly .Thanks to all Trisquel developers and users.

aliasbody
Hors ligne
A rejoint: 09/14/2012

You're welcome :D

If you can please support Trisquel with donations or by buying anything at http://libre.thinkpenguin.com (25% of the profits are reversed to the Trisquel Gnu/Linux Project).