1 |
David Haller wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Tue, 27 Oct 2020, Dale wrote: |
5 |
> [..] |
6 |
>> ERROR: 'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a |
7 |
>> valid URL. Set --default-search "ytsearch" (or run youtube-dl |
8 |
>> "ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to |
9 |
>> search YouTube |
10 |
>> [youtube] byTOZIvyXPo: Downloading webpage |
11 |
> Please run again with -v, such as: |
12 |
> |
13 |
> $ youtube-dl -v https://www.youtube.com/watch?v=byTOZIvyXPo |
14 |
> |
15 |
> and then check at the top for the lines: |
16 |
> |
17 |
> [debug] System config: [] |
18 |
> [debug] User config: [ .. THIS IS WHAT I'M INTERESTED IN .. ] |
19 |
> [debug] Custom config: [] |
20 |
> [debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=IzPxJK4drcc'] |
21 |
> [..] |
22 |
> [debug] youtube-dl version 2020.09.20 |
23 |
> |
24 |
> and mail them here ... One should see there how yt-dl parses your |
25 |
> config and hopefully what goes wrong with it. |
26 |
> |
27 |
> HTH, |
28 |
> -dnh |
29 |
> |
30 |
|
31 |
|
32 |
Finally getting thing back to normal. Been checking out the quality of |
33 |
new power supply and the age of my mobo. Mobo is 7 years old. May |
34 |
start digging around for one of those soon. o_0 |
35 |
|
36 |
Searched for test video and grabbed the first hit. Here is the complete |
37 |
output. |
38 |
|
39 |
|
40 |
dale@fireball ~/Desktop $ youtube-dl -v |
41 |
https://www.youtube.com/watch?v=C0DPdy98e4c |
42 |
[debug] System config: [] |
43 |
[debug] User config: ['ytdl-format=bestvideo[height<=?1280]+bestaudio/best'] |
44 |
[debug] Custom config: [] |
45 |
[debug] Command-line args: ['-i', '-v', |
46 |
'https://www.youtube.com/watch?v=C0DPdy98e4c'] |
47 |
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 |
48 |
[debug] youtube-dl version 2020.06.16.1 |
49 |
[debug] Python version 3.7.9 (CPython) - |
50 |
Linux-5.6.7-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.7 |
51 |
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1 |
52 |
[debug] Proxy map: {} |
53 |
ERROR: 'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a |
54 |
valid URL. Set --default-search "ytsearch" (or run youtube-dl |
55 |
"ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to |
56 |
search YouTube |
57 |
Traceback (most recent call last): |
58 |
File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line |
59 |
797, in extract_info |
60 |
ie_result = ie.extract(url) |
61 |
File |
62 |
"/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line |
63 |
530, in extract |
64 |
ie_result = self._real_extract(url) |
65 |
File |
66 |
"/usr/lib/python3.7/site-packages/youtube_dl/extractor/generic.py", line |
67 |
2277, in _real_extract |
68 |
% (url, url), expected=True) |
69 |
youtube_dl.utils.ExtractorError: |
70 |
'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a valid |
71 |
URL. Set --default-search "ytsearch" (or run youtube-dl |
72 |
"ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to |
73 |
search YouTube |
74 |
|
75 |
[youtube] C0DPdy98e4c: Downloading webpage |
76 |
[debug] Default format spec: bestvideo+bestaudio/best |
77 |
WARNING: Requested formats are incompatible for merge and will be merged |
78 |
into mkv. |
79 |
[debug] Invoking downloader on |
80 |
'https://r2---sn-5uaeznd7.googlevideo.com/videoplayback?expire=1603948129&ei=AfqZX8i_DJPqigTpkoDYAw&ip=74.188.248.51&id=o-AH8t98t1pWRhfF0y-tZC-qs49qI_zvZaKyBkU50HBe2G&itag=244&aitags=133%2C134%2C135%2C160%2C242%2C243%2C244%2C278%2C394%2C395%2C396%2C397&source=youtube&requiressl=yes&mh=m8&mm=31%2C26&mn=sn-5uaeznd7%2Csn-q4flrn7s&ms=au%2Conr&mv=m&mvi=2&pl=20&initcwndbps=1165000&vprv=1&mime=video%2Fwebm&gir=yes&clen=294311&dur=16.560&lmt=1449553649983144&mt=1603926401&fvip=2&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKZU6AYMDnJ3MkiGZrpNIARGZ1wcxQIuhv8RefWrUPJEAiBIWn9PA40XVnnUclzEp_nV18Ah1PswHBQjNzNtA0Negg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAKvXqCZKwVUndAMo_5bv6VxIvB7fMndYKg1QSCR0Tqu2AiEAp32rZZE_hPo5cb1uRjg4PozYqTvXkkjWIaPEj7A9aog%3D&ratebypass=yes' |
81 |
[download] Destination: TEST VIDEO-C0DPdy98e4c.f244.webm |
82 |
[download] 100% of 287.41KiB in 00:02 |
83 |
[debug] Invoking downloader on |
84 |
'https://r2---sn-5uaeznd7.googlevideo.com/videoplayback?expire=1603948129&ei=AfqZX8i_DJPqigTpkoDYAw&ip=74.188.248.51&id=o-AH8t98t1pWRhfF0y-tZC-qs49qI_zvZaKyBkU50HBe2G&itag=140&source=youtube&requiressl=yes&mh=m8&mm=31%2C26&mn=sn-5uaeznd7%2Csn-q4flrn7s&ms=au%2Conr&mv=m&mvi=2&pl=20&initcwndbps=1165000&vprv=1&mime=audio%2Fmp4&gir=yes&clen=280597&dur=17.600&lmt=1509088061399864&mt=1603926401&fvip=2&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgZi7NlmQITSpxyahnu-mmF0TTQU4tTrjKNeNypYfUZS0CIQC25F6S6QoiRZ8g7HJf5HI1Ch6GBVpTS8QogQBmpR4xWA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAKvXqCZKwVUndAMo_5bv6VxIvB7fMndYKg1QSCR0Tqu2AiEAp32rZZE_hPo5cb1uRjg4PozYqTvXkkjWIaPEj7A9aog%3D&ratebypass=yes' |
85 |
[download] Destination: TEST VIDEO-C0DPdy98e4c.f140.m4a |
86 |
[download] 100% of 274.02KiB in 00:02 |
87 |
[ffmpeg] Merging formats into "TEST VIDEO-C0DPdy98e4c.mkv" |
88 |
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i |
89 |
'file:TEST VIDEO-C0DPdy98e4c.f244.webm' -i 'file:TEST |
90 |
VIDEO-C0DPdy98e4c.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:TEST |
91 |
VIDEO-C0DPdy98e4c.temp.mkv' |
92 |
Deleting original file TEST VIDEO-C0DPdy98e4c.f244.webm (pass -k to keep) |
93 |
Deleting original file TEST VIDEO-C0DPdy98e4c.f140.m4a (pass -k to keep) |
94 |
dale@fireball ~/Desktop $ |
95 |
|
96 |
|
97 |
So you don't have to look back to old message, conf file again. |
98 |
|
99 |
|
100 |
--format 'bestvideo[ext=webm,ext=mp4][width<=?1280]+bestaudio/best' |
101 |
|
102 |
|
103 |
Question. I have other lines in there that I commented out using the |
104 |
usual #. Is that correct or does it use some other character for |
105 |
comments? Maybe is is seeing those lines as active when I don't want |
106 |
them to be?? Other than that, I see the options in the user config line |
107 |
above. It's seeing it at least. |
108 |
|
109 |
Thoughts? |
110 |
|
111 |
Dale |
112 |
|
113 |
:-) :-) |