1. Preparation of yt-dlp. - Check the content of ~/.profile using the command, vi ~/.profile. # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022
# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi
# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi
- If PATH="$HOME/.local/bin:$PATH" is NOT found in ~/.profile, add the lines presented by the symbol + in ~/.profile.
+# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi - Execute the following command to download of yt-dlp. mkdir -p ~/.local/bin wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O ~/.local/bin/yt-dlp chmod +x ~/.local/bin/yt-dlp source ~/.profile - Execute the following command to see the version of yt-dlp. yt-dlp --version 2025.04.30 - Execute the following command to update of yt-dlp. yt-dlp -U
2. Get the movie file from website of Y-o-u-t-u-b-e or A-b-e-m-a-T-V. 2-1. Y-o-u-t-u-b-e (Example: SqmN9CqX2CM) - Execute the following command to see the IDs of the movie and the audio. yt-dlp -F https://www.y-o-u-t-u-b-e.com/watch?v=SqmN9CqX2CM [y-o-u-t-u-b-e] Extracting URL: https://www.y-o-u-t-u-b-e.com/watch?v=SqmN9CqX2CM [y-o-u-t-u-b-e] SqmN9CqX2CM: Downloading webpage [y-o-u-t-u-b-e] SqmN9CqX2CM: Downloading tv client config [y-o-u-t-u-b-e] SqmN9CqX2CM: Downloading tv player API JSON [y-o-u-t-u-b-e] SqmN9CqX2CM: Downloading ios player API JSON [y-o-u-t-u-b-e] SqmN9CqX2CM: Downloading m3u8 information [info] Available formats for SqmN9CqX2CM: ID EXT RESOLUTION FPS CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── sb2 mhtml 48x27 0 │ mhtml │ images storyboard sb1 mhtml 79x45 0 │ mhtml │ images storyboard sb0 mhtml 159x90 0 │ mhtml │ images storyboard 233 mp4 audio only │ m3u8 │ audio only unknown [ja] Default, low 234 mp4 audio only │ m3u8 │ audio only unknown [ja] Default, high 249-drc webm audio only 2 │ 34.10MiB 50k https │ audio only opus 50k 48k [ja] low, DRC, webm_dash 250-drc webm audio only 2 │ 42.59MiB 63k https │ audio only opus 63k 48k [ja] low, DRC, webm_dash 249 webm audio only 2 │ 33.72MiB 50k https │ audio only opus 50k 48k [ja] low, webm_dash 250 webm audio only 2 │ 42.03MiB 62k https │ audio only opus 62k 48k [ja] low, webm_dash 140-drc m4a audio only 2 │ 88.13MiB 129k https │ audio only mp4a.40.2 129k 44k [ja] medium, DRC, m4a_dash 251-drc webm audio only 2 │ 77.23MiB 113k https │ audio only opus 113k 48k [ja] medium, DRC, webm_dash 140 m4a audio only 2 │ 88.13MiB 129k https │ audio only mp4a.40.2 129k 44k [ja] medium, m4a_dash 251 webm audio only 2 │ 76.22MiB 112k https │ audio only opus 112k 48k [ja] medium, webm_dash 602 mp4 256x144 12 │ ~ 71.70MiB 105k m3u8 │ vp09.00.10.08 105k video only 269 mp4 256x144 24 │ ~116.59MiB 171k m3u8 │ avc1.4D400C 171k video only 160 mp4 256x144 24 │ 41.47MiB 61k https │ avc1.4d400c 61k video only 144p, mp4_dash 603 mp4 256x144 24 │ ~116.97MiB 172k m3u8 │ vp09.00.11.08 172k video only 278 webm 256x144 24 │ 48.96MiB 72k https │ vp9 72k video only 144p, webm_dash 394 mp4 256x144 24 │ 46.01MiB 68k https │ av01.0.00M.08 68k video only 144p, mp4_dash 229 mp4 426x240 24 │ ~198.14MiB 291k m3u8 │ avc1.4D4015 291k video only 133 mp4 426x240 24 │ 87.37MiB 128k https │ avc1.4d4015 128k video only 240p, mp4_dash 604 mp4 426x240 24 │ ~199.83MiB 294k m3u8 │ vp09.00.20.08 294k video only 242 webm 426x240 24 │ 89.84MiB 132k https │ vp9 132k video only 240p, webm_dash 395 mp4 426x240 24 │ 89.46MiB 131k https │ av01.0.00M.08 131k video only 240p, mp4_dash 230 mp4 640x360 24 │ ~374.35MiB 550k m3u8 │ avc1.4D401E 550k video only 134 mp4 640x360 24 │ 155.87MiB 229k https │ avc1.4d401e 229k video only 360p, mp4_dash 18 mp4 640x360 24 2 │ 383.45MiB 563k https │ avc1.42001E mp4a.40.2 44k [ja] 360p 605 mp4 640x360 24 │ ~428.10MiB 629k m3u8 │ vp09.00.21.08 629k video only 243 webm 640x360 24 │ 209.82MiB 308k https │ vp9 308k video only 360p, webm_dash 396 mp4 640x360 24 │ 170.79MiB 251k https │ av01.0.01M.08 251k video only 360p, mp4_dash 231 mp4 854x480 24 │ ~500.34MiB 735k m3u8 │ avc1.4D401E 735k video only 135 mp4 854x480 24 │ 304.24MiB 447k https │ avc1.4d401e 447k video only 480p, mp4_dash 606 mp4 854x480 24 │ ~679.05MiB 998k m3u8 │ vp09.00.30.08 998k video only 244 webm 854x480 24 │ 281.05MiB 413k https │ vp9 413k video only 480p, webm_dash 397 mp4 854x480 24 │ 262.02MiB 385k https │ av01.0.04M.08 385k video only 480p, mp4_dash 232 mp4 1280x720 24 │ ~ 1.20GiB 1801k m3u8 │ avc1.4D401F 1801k video only 136 mp4 1280x720 24 │ 672.64MiB 988k https │ avc1.4d401f 988k video only 720p, mp4_dash 609 mp4 1280x720 24 │ ~ 1.14GiB 1712k m3u8 │ vp09.00.31.08 1712k video only 247 webm 1280x720 24 │ 528.42MiB 776k https │ vp9 776k video only 720p, webm_dash
- You found 232 for the movie with the best quarity and 140 for the audio with the best quality. - Execute the following command to download the movie file. yt-dlp -f 232+140 https://www.y-o-u-t-u-b-e.com/watch?v=SqmN9CqX2CM -o /mnt/c/Users/[Name]/Music/"%(title)s.%(ext)s"
2-2. A-b-e-m-a-T-V (Example: 90-2042_s1_p10) - Execute the following command to see the ID of the movie. yt-dlp -F https://a-b-e-m-a.tv/video/episode/90-2042_s1_p10 [A-b-e-m-a-T-V] Extracting URL: https://a-b-e-m-a.tv/video/episode/90-2042_s1_p10 [A-b-e-m-a-T-V] Authorizing [A-b-e-m-a-T-V] 90-2042_s1_p10: Downloading webpage [A-b-e-m-a-T-V] 90-2042_s1_p10: Checking playability [A-b-e-m-a-T-V] 90-2042_s1_p10: Downloading m3u8 information WARNING: [A-b-e-m-a-T-V] Ignoring subtitle tracks found in the HLS manifest; if any subtitle tracks are missing, please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U [info] Available formats for 90-2042_s1_p10: ID EXT RESOLUTION │ FILESIZE TBR PROTO │ VCODEC ACODEC ────────────────────────────────────────────────────────────── 184 mp4 320x180 │ ~ 73.68MiB 184k m3u8 │ unknown unknown 300 mp4 426x240 │ ~120.13MiB 300k m3u8 │ unknown unknown 900 mp4 640x360 │ ~360.38MiB 900k m3u8 │ unknown unknown 1400 mp4 852x480 │ ~560.59MiB 1400k m3u8 │ unknown unknown 2400 mp4 1280x720 │ ~961.02MiB 2400k m3u8 │ unknown unknown 5300 mp4 1920x1080 │ ~ 2.07GiB 5300k m3u8 │ unknown unknown - You found 5300 for the movie with the best quality. - Execute the following command to download the movie file. yt-dlp -f 5300 https://a-b-e-m-a.tv/video/episode/90-2042_s1_p10 -o '/mnt/c/Users/[Name]/Videos/#01.mp4'