-
-
Save sathishshan/79b850c8cb14190c37d199a564611bd6 to your computer and use it in GitHub Desktop.
#single video | |
youtube-dl --cookies youtube.com_cookies.txt "URL" | |
#playlist | |
youtube-dl --yes-playlist --cookies youtube.com_cookies.txt "URL" | |
You can use: --playlist-start, --playlist-end, --playlist-reverse or --playlist-items to achieve this goal. | |
#Note: cookie should be in Netscape format | |
Addons | |
#https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid | |
#https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/ | |
python.exe -m pip install --upgrade pip | |
pip install yt-dlp | |
yt-dlp --yes-playlist --playlist-start 16 --cookies cookies.txt "https://www.youtube.com/playlist?" | |
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - | |
------------- | |
Youtube-dl multiple videos download from a file. | |
yt-dlp.exe -a file.txt | |
------------- | |
Subtitile & Video Resolution: | |
yt-dlp --list-subs --cookies youtube_cookie.txt URL | |
yt-dlp --write-auto-sub --sub-format srt --sub-lang en --skip-download --cookies youtube_cookie.txt URL | |
To select the video quality, first use the -F option to list the available formats, here’s an example, | |
youtube-dl -F URL | |
The best quality is 22 so use -f 22 instead of -F to download the MP4 video with 1280x720 resolution like this: | |
youtube-dl -f 22 URL |
Worked. But... You have to be member of the channel. Use one of the add-ons to extract the cookies from the browser: #https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid #https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/
Then use the command to execute the task. The main problem that I see is the download speed. It is really slow. I'm using a 100Mbps internet connection speed and still takes 00:05:56 to download 169.91MiB
use yt-dlp instead it's faster than youtube-dl
why this error appears??
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Thank you, I did it successfully
Im trying to download member only videos that I have paid for and am a member atm. I can watch them but can't download. Currently on win10 pc. What is the fastest way ?
bro how to use it
this is an easy and simple way, thankyou
hi I don't know how to do this. Can someone teach me step-by-step? What software or app do I download first and how to use the codes please thank you.
Ps. I am already subscribed to a yt membership and I want to dl the videos for future use
thanx a lot mate !
its working
Worked. But...
You have to be member of the channel.
Use one of the add-ons to extract the cookies from the browser:
#https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid
#https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/
Then use the command to execute the task. The main problem that I see is the download speed. It is really slow. I'm using a 100Mbps internet connection speed and still takes 00:05:56 to download 169.91MiB