Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] youtube-dl and the conf file.
Date: Mon, 02 Nov 2020 16:06:55
Message-Id: 8d667c88-1261-0ba2-7179-1986f16a82c6@gmail.com
In Reply to: Re: [gentoo-user] youtube-dl and the conf file. by Arve Barsnes
1 Arve Barsnes wrote:
2 > On Fri, 30 Oct 2020 at 22:56, Dale <rdalek1967@×××××.com> wrote:
3 >> wget https://yt-dl.org/downloads/latest/youtube-dl -O
4 >> /usr/local/bin/youtube-dl
5 >> chmod a+rx /usr/local/bin/youtube-dl
6 > This should work just fine, you just need to specify the path when you
7 > want to use it.
8 >
9 > Not sure how wise the following is, but you could also just put it
10 > directly in /usr/bin/ as well, and then it would continue to work as
11 > normal, and portage would update it when/if a new version is released.
12 >
13 > Regards,
14 > Arve
15 >
16 >
17
18
19 I finally got it installed in /usr/local/bin.  I get the same error.  I
20 removed all the video links but this is what I get when I put the
21 options on the command line itself with the conf file commented out
22 completely. 
23
24
25 dale@fireball ~/Desktop/Videos/TV_Series/Midsomer_Murders $
26 /usr/local/bin/youtube-dl --format
27 'bestvideo[ext=webm,ext=mp4][width<=?1280]+bestaudio/best' <Lots of
28 video links that include HD versions>
29 ERROR: u'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a
30 valid URL. Set --default-search "ytsearch" (or run  youtube-dl
31 "ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to
32 search YouTube
33 dale@fireball ~/Desktop/Videos/TV_Series/Midsomer_Murders $
34
35
36 Version info.
37
38
39 dale@fireball ~/Desktop/Videos/TV_Series/Midsomer_Murders $
40 /usr/local/bin/youtube-dl --version
41 2020.11.01.1
42 dale@fireball ~/Desktop/Videos/TV_Series/Midsomer_Murders $
43
44
45 So, latest version, doesn't like the conf file or the option on the
46 command line itself.  What next?  Is there a tiny typo in there or
47 something? 
48
49 Dale
50
51 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] youtube-dl and the conf file. Arve Barsnes <arve.barsnes@×××××.com>