All i got was a bunch of these errors
Code: Select all
Got error: HTTP Error 400: Bad Request. Retrying fragment
Searching for a solution I found this https://www.reddit.com/r/youtubedl/comm ... ut_doesnt/ and tried incorporating part of the idea like so
when the VIDEO is the chosen video format and AUDIO being the chosen audio format, all formats got listed okay viayt-dlp --downloader aria2c --no-part --restrict-filenames -N 4 --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0" -f VIDEO+AUDIO URL
Code: Select all
yt-dlp -F URL
It looks like aria2c encountered an issue
Code: Select all
-> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: The TLS connection was non-properly terminated.
[#5f5b78 512KiB/544KiB(94%) CN:1 DL:66KiB]
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
[download] Got error: . Retrying fragments (1/10)...
[download] 100% of 140.60MiB in 00:06:52 at 349.39KiB/s
[dashsegments] Total fragments: 357
[dashsegments] Fragment downloads will be delegated to aria2c
[download] Destination: TITLE.m4a
[download] 100% of 25.03MiB in 00:01:16 at 334.21KiB/s
[Merger] Merging formats into TITLE.mp4
Of course you need aria2c as well for that trick to work.
You can create your own aria2 module by either downloading and converting the aria2 package manually or by using getmod.
I used getmod.
Cave! While the binary is called aria2c the package is called only aria2.
The above created this module:
1044480 bytes (1020 KB) - aria2-1.36.0-x86_64-1salix15.0.xzm with this contents:
Code: Select all
/usr
/usr/bin
/usr/bin/aria2c
/usr/share
/var
/var/lib
/var/lib/pkgtools
/var/lib/pkgtools/douninst.sh
/var/lib/pkgtools/packages
/var/lib/pkgtools/packages/aria2-1.36.0-x86_64-1salix15.0
/var/lib/pkgtools/scripts
/var/lib/pkgtools/setup
/var/lib/pkgtools/setup/tmp
/var/log
/var/log/packages
/var/log/pkgtools
/var/log/pkgtools/removed_packages
/var/log/pkgtools/removed_scripts
/var/log/scripts
/var/log/setup