The link is right there, all you need is the code representing the chosen video/audio formats:
Code: Select all
yt-dlp -f 243+250 https://www.youtube.com/watch?v=yMXL4NiKJ0A
Code: Select all
yt-dlp -f 243+250 yMXL4NiKJ0A
The link is right there, all you need is the code representing the chosen video/audio formats:
Code: Select all
yt-dlp -f 243+250 https://www.youtube.com/watch?v=yMXL4NiKJ0A
Code: Select all
yt-dlp -f 243+250 yMXL4NiKJ0A
sure it's a review my issue was with it's warning
Code: Select all
WARNING: [youtube] yMXL4NiKJ0A: nsig extraction failed: You may experience throttling for some formats
Install PhantomJS to workaround the issue
I want the update-browser script to work correctly, therefore I am testing that version of yt-dlp…
Indeed it is, this is its contents as created by update-browser script
Code: Select all
root@porteus:/mnt/live/memory/images/031-yt-dlp-RECENT.xzm# find .
.
./usr
./usr/bin
./usr/bin/yt-dlp
./var
./var/lib
./var/lib/pkgtools
./var/lib/pkgtools/packages
./var/lib/pkgtools/packages/yt-dlp-2022.08.19-noarch-1ncm
does /usr/bin/yt-dlp differ?
Code: Select all
guest@porteus:~$ md5sum /usr/bin/yt-dlp
03564d8d1cd735155143f87c1c464334 /usr/bin/yt-dlp
Code: Select all
guest@porteus:~$ yt-dlp --version
2022.08.19
I see, I will update and see if that fixes it (I presume it will)
Code: Select all
root@porteus:/Porteus_modules/yt-dlp# update-browser -d -y
Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-youtube-dl-live DONE
Work will be done in: /Porteus_modules/yt-dlp dir2xzm
Note: now using yt-dlp instead of youtube-dl.
you have version 2022.08.19 installed
Checking http://dl.porteus.org/x86_64/current/modules
The Porteus SERVER version is :
The latest yt-dlp version is : 2022.09.01
You can choose to download the premade module from our server,
or download the version from github.
Would you like to download the porteus server version? [y/n]
Would you like to download yt-dlp-2022.09.01 ? [y/n]
Downloading: yt-dlp https://objectsgithubusercontentcom/github-production-release-asset-2e65be/307260205/859ffbc6-701a-46aa-af11-979df2343b49?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220909T005250Z&X-Amz-Expires=300&X-Amz-Signature=e649261fa1aa778e31b3c3f6258cb0c59a128c60ed853fd25927fc1b3ad7d760&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3Dyt-dlp&response-content-type=application%2Foctet-st02:52:5 DONE
Downloading: SHA2-256SUMS https://objectsgithubusercontentcom/github-production-release-asset-2e65be/307260205/4ad611ea-3b34-4b3b-96e2-a52731994329?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220909T005133Z&X-Amz-Expires=300&X-Amz-Signature=260f336368f4fe92195457a6178c41703e94ebbd0f2239f5a575a832dd51b1d6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3DSHA2-256SUMS&response-content-type=application%2Foctet-st02:52: DONE
Verifying download integrity..
Server : 3db4b47c28f9cab13bfd470ad66a2eb98a82fe42c36a202d001d7cea700af616
Download: 3db4b47c28f9cab13bfd470ad66a2eb98a82fe42c36a202d001d7cea700af616
Download verified.
Convert directory tree into a zstd or xz compressed module
usage: /usr/bin/dir2xzm <-option> source_directory output_file.xzm
options: -x : use xz compression.
options: -z : use zstd compression.
if no option is given xz is used.
-h : show this usage.
Your module yt-dlp-2022.09.01-noarch-1ncm.xzm is ready in /Porteus_modules/yt-dlp
Please copy it to your modules folder or somewhere safe.
root@porteus:/Porteus_modules/yt-dlp# l
total 36
drwxr-xr-x 2 root 4096 2022-09-09 02:52 .
drwxr-xr-x 40 guest 28672 2022-09-09 02:51 ..
-rw-r--r-- 1 root 3481 2022-09-09 02:52 index.html
root@porteus:/Porteus_modules/yt-dlp# l /tmp/yt*
/bin/ls: cannot access '/tmp/yt*': No such file or directory
Code: Select all
root@porteus:/Porteus_modules/yt-dlp# wget https://github.com/yt-dlp/yt-dlp/releases/download/2022.09.01/yt-dlp
--2022-09-09 03:05:01-- https://github.com/yt-dlp/yt-dlp/releases/download/2022.09.01/yt-dlp
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/307260205/859ffbc6-701a-46aa-af11-979df2343b49?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220909T010424Z&X-Amz-Expires=300&X-Amz-Signature=9cc6b1cf70c248578619a56359bade42d6bcf3c91491f23692896c7261c1e9a0&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3Dyt-dlp&response-content-type=application%2Foctet-stream [following]
--2022-09-09 03:05:01-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/307260205/859ffbc6-701a-46aa-af11-979df2343b49?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220909T010424Z&X-Amz-Expires=300&X-Amz-Signature=9cc6b1cf70c248578619a56359bade42d6bcf3c91491f23692896c7261c1e9a0&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3Dyt-dlp&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2562169 (2.4M) [application/octet-stream]
Saving to: ‘yt-dlp’
yt-dlp 100%[===================>] 2.44M 1.04MB/s in 2.3s
2022-09-09 03:05:04 (1.04 MB/s) - ‘yt-dlp’ saved [2562169/2562169]
root@porteus:/Porteus_modules/yt-dlp# file yt-dlp
yt-dlp: a /usr/bin/env python3 script executable (binary data)
root@porteus:/Porteus_modules/yt-dlp# md5sum yt-dlp
a313c57b0ba3713b8e5edc3f22382583 yt-dlp
Code: Select all
guest@porteus:/Porteus_modules/yt-dlp$ head -n 1 031-yt-dlp-2022.09.01-noarch-1rav/var/lib/pkgtools/packages/yt-dlp-2022.09.01-noarch-1rav
PACKAGE NAME: yt-dlp-2022.09.01-noarch-1rav
Code: Select all
guest@porteus:/Porteus_modules$ yt-dlp --version
2022.09.01
Code: Select all
guest@porteus:/myvideo/review$ mkdir yMXL4NiKJ0A
guest@porteus:/myvideo/review$ cd yMXL4NiKJ0A
guest@porteus:/myvideo/review/yMXL4NiKJ0A$ yt-dlp -f 243+250 yMXL4NiKJ0A
[youtube] yMXL4NiKJ0A: Downloading webpage
[youtube] yMXL4NiKJ0A: Downloading android player API JSON
[youtube] yMXL4NiKJ0A: Downloading player 6a14c793
WARNING: [youtube] yMXL4NiKJ0A: nsig extraction failed: You may experience throttling for some formats
Install PhantomJS to workaround the issue. Please download it from https://phantomjs.org/download.html
n = 7L-bLHi2IFfzo_d8kEnV1 ; player = https://www.youtube.com/s/player/6a14c793/player_ias.vflset/en_US/base.js
[info] yMXL4NiKJ0A: Downloading 1 format(s): 243+250
[download] Destination: THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].f243.webm
[download] 100% of 78.77MiB in 01:26 at 928.22KiB/s
[download] Destination: THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].f250.webm
[download] 100% of 18.89MiB in 00:18 at 1.02MiB/s
[Merger] Merging formats into "THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].webm"
Deleting original file THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].f250.webm (pass -k to keep)
Deleting original file THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].f243.webm (pass -k to keep)
guest@porteus:/myvideo/review/yMXL4NiKJ0A$ md5sum THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ \(EPISODES\ 1\ AND\ 2\)\ REVIEW\ |\ Double\ Toasted\ \[yMXL4NiKJ0A\].webm ../THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ \(EPISODES\ 1\ AND\ 2\)\ REVIEW\ |\ Double\ Toasted\ \[yMXL4NiKJ0A\].webm
928095d46694db03cb9586935cd93c02 THE LORD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].webm
8b6cca28792f38501ca0a841bba6aea6 ../THE LOnRD OF THE RINGS: THE RINGS OF POWER (EPISODES 1 AND 2) REVIEW | Double Toasted [yMXL4NiKJ0A].webm
guest@porteus:/myvideo/review/yMXL4NiKJ0A$ l THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ \(EPISODES\ 1\ AND\ 2\)\ REVIEW\ |\ Double\ Toasted\ \[yMXL4NiKJ0A\].webm ../THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ \(EPISODES\ 1\ AND\ 2\)\ REVIEW\ |\ Double\ Toasted\ \[yMXL4NiKJ0A\].webm
-rwxrwxrwx 1 guest 102400607 2022-09-08 01:20 ../THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ (EPISODES\ 1\ AND\ 2)\ REVIEW\ |\ Double\ Toasted\ [yMXL4NiKJ0A].webm
-rwxrwxrwx 1 guest 102400607 2022-09-08 01:20 THE\ LORD\ OF\ THE\ RINGS:\ THE\ RINGS\ OF\ POWER\ (EPISODES\ 1\ AND\ 2)\ REVIEW\ |\ Double\ Toasted\ [yMXL4NiKJ0A].webm
Code: Select all
WARNING: [youtube] yMXL4NiKJ0A: nsig extraction failed: You may experience throttling for some formats
Install PhantomJS to workaround the issue. Please download it from https://phantomjs.org/download.html
n = 7L-bLHi2IFfzo_d8kEnV1 ; player = https://www.youtube.com/s/player/6a14c793/player_ias.vflset/en_US/base.js
should be fixed now, just some variables defined in the wrong order (only effected the -d option)
So far I saw no issue with the video but also not managed to fully watch it.ncmprhnsbl wrote: ↑09 Sep 2022, 09:34as for the warning, i'd file that under: it's just warning. as long as you get what you want, no harm done.