1 |
Hello, |
2 |
|
3 |
On Wed, 28 Oct 2020, Dale wrote: |
4 |
>David Haller wrote: |
5 |
>> Please run again with -v, such as: |
6 |
>> |
7 |
>> $ youtube-dl -v https://www.youtube.com/watch?v=byTOZIvyXPo |
8 |
>> |
9 |
>> and then check at the top for the lines: |
10 |
>> |
11 |
>> [debug] System config: [] |
12 |
>> [debug] User config: [ .. THIS IS WHAT I'M INTERESTED IN .. ] |
13 |
>> [debug] Custom config: [] |
14 |
>> [debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=IzPxJK4drcc'] |
15 |
>> [..] |
16 |
>> [debug] youtube-dl version 2020.09.20 |
17 |
[..] |
18 |
>dale@fireball ~/Desktop $ youtube-dl -v |
19 |
>https://www.youtube.com/watch?v=C0DPdy98e4c |
20 |
>[debug] System config: [] |
21 |
>[debug] User config: ['ytdl-format=bestvideo[height<=?1280]+bestaudio/best'] |
22 |
>[debug] Custom config: [] |
23 |
>[debug] Command-line args: ['-i', '-v', |
24 |
>'https://www.youtube.com/watch?v=C0DPdy98e4c'] |
25 |
>[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 |
26 |
>[debug] youtube-dl version 2020.06.16.1 |
27 |
|
28 |
You seem to have a stray config file ;) I checked with the exact same |
29 |
version as you and your config file and it gives me: |
30 |
|
31 |
$ youtube-dl --config-location /tmp/test-ytconf |
32 |
[..] |
33 |
[debug] User config: [] |
34 |
[debug] Custom config: ['--format', 'bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best', '--merge-output-format', 'mp4'] |
35 |
[debug] youtube-dl version 2020.06.16.1 |
36 |
[debug] Python version 3.8.6 (CPython) ... |
37 |
|
38 |
(I use the seperate config to not overwrite mine, but I tested it with |
39 |
my config and it also gives me: |
40 |
|
41 |
[debug] User config: [ ... '--format', 'best[height ...] |
42 |
|
43 |
So, you seem to have some user config file which contains: |
44 |
|
45 |
ytdl-format=bestvideo[height<=?1280]+bestaudio/best |
46 |
|
47 |
instead of '--format[space]some_specs'. To find it the easiest, try: |
48 |
|
49 |
$ strace -eopen youtube-dl SOMEURL 2>&1 | grep /home/ |
50 |
|
51 |
Here, it shows just ~/.config/youtube-dl/config to be used. |
52 |
|
53 |
HTH, |
54 |
-dnh |
55 |
|
56 |
-- |
57 |
A funny symbol that I can't read has just been input. |
58 |
Continue, and I'll forget that it ever happened. -- a TeX message |