Add support of export cookies feature (there is actually 2 extensions that can do that : send cookies to media players and to external tools and donwloaders) to skip youtube throttle and play restricted protected videos of twitter, facebook, tiktok.. #394
Labels
enhancement
New feature or request
Hi, users complain that youtube throttles bitrates when using external download manager or media player and yt-dlp has to import youtube cookies in some cases to fix this problem, we hope please our beloved Hls-downloader will add feature to help donwload managers or media players to import cookies from browser and then, donwload managers or media players can playback youtube videos without throttle, thanks!
also i tried to play twitter videos because videos on twitter are very heavy and lag freeze even lowest quality in my old laptop, i tried with Mpc-qt, Mpc-be, Mpc-hc, smplayer, potplayer with 3DYD Youtube Source plugin, qmplay2 ...all these players fail to play twitter videos and have message that i should add cookies commands like --cookies-from-browser firefox....
i am not expert, i tired to add --cookies-from-browser firefox to the yt-dlp engines of these media players but no video playback :(
my idea please is that Hls-downloader extension allows us to export cookies to external media players or add cookies to video stream detected so we can avoid possible bugs and we could donwload or playback restirctid protected videos of twitter in vlc or potplayer or smplayer.. .thank you very much!
import cookies to external donwloaders or media player is important because users complain that youtube throttles bitrates when using external media players or external donwloaders and yt-dlp has to import youtube cookies in some cases to fix this problem, we hope for feature like these 2 extensions to easily add youtube cookies to external donwloader to donwload youtube videos without throttle or from other platforms, thanks!
https://github.com/54ac/stream-detector ( this extension can export cookies to exteral tool)
https://github.com/zaidka/cliget (this extension can export cookies to external tool)
so i discover these tools and tricks,
may be these tools can help to make the dream true, thanks ! :
https://mpv.io/manual/stable/#options-ytdl-raw-options :
--ytdl-raw-options=username=user,password=pass
authentification options
https://github.com/ytdl-org/youtube-dl/blob/master/README.md#authentication-options
also i find these commands, may be they can help to import cookies from browsers and my be good idea to add them to FAQ :
cookies yt-dlp command line arguments :
--cookies-from-browser firefox ( firefox does not lock the export of cookies to yt dlp unlike chrome, some users said we should disconnect from our youtube account if this doesn't work and try again )
chrome --disable-features=LockProfileCookieDatabase --disable-features=NetworkServiceSandbox
yt-dlp cookies imports
https://github.com/coletdjnz/yt-dlp-youtube-oauth2
https://github.com/coletdjnz/yt-dlp-get-pot
https://github.com/seproDev/yt-dlp-ChromeCookieUnlock
https://github.com/54ac/stream-detector (can export cookies to exteranl tool)
https://github.com/zaidka/cliget (can export cookies to exteranl tool)
https://github.com/einKnie/video-detector
https://github.com/fnxweb/neo-diggler (can export cookies to external tool)
Extract the video URL from the current page.
Video URL Extractor
https://addons.mozilla.org/fr/firefox/addon/video_url_extractor/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search
[email protected]
https://github.com/ytdl-patched/ytdl-patched
https://github.com/pratikpatel8982/yt-dlp-mp4decrypt
https://github.com/pratikpatel8982/yt-dlp-hianime
https://github.com/rotemdan/ExportCookies
also
i find new secret great methods and tricks to add cookies to media player to skip youtube throttle :
https://github.com/akiirui/userscript/tree/play-with-mpv
https://greasyfork.org/en/scripts/416271-play-with-mpv
yt dlp ytdlp yt-dlp format selection
worst / worst* /worstvideo / worstaudio /worstaudio*/worstvideo*/bestvideo/ bestaudio/
https://github.com/yt-dlp/yt-dlp/blob/master/README.md#format-selection
Try Pass cookies
For advanced users to view member-only videos.
Because userscript no permissions to access full cookies (like HttpOnly cookies), then manually export cookies only.
Open settings, Switch Try Pass Cookies to Yes.
Export cookies file manually (Chromium, Firefox)
https://github.com/hrdl-github/cookies-txt
https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/
https://github.com/kairi003/Get-cookies.txt-Locally
[email protected]
https://github.com/ReeganExE/open-cookies.txt
https://chromewebstore.google.com/detail/open-cookiestxt/gdocmgbfkjnnpapoeobnolbbkoibbcif
Cookies must be export to these path:
Linux:
$HOME/.config/mpv-handler/cookies/
Windows:
(mpv-hander.exe parent folder)\cookies
Cookies file name must be following this format:
www.youtube.com.txt (https://www.youtube.com/watch?v=BUOmDL1L4XU)
The text was updated successfully, but these errors were encountered: