Summary of secrets tools to add cookie to player to skip youtube throttle of yt-dlp and play protected twitter videos
Posted: 18 Dec 2024 15:01
Hi, j'en ai déjà parlé dans mon issue pour ajouter yt-dlp à Vlc mis c'étais dans des commentaires, pour raison de reférence et simplicité, je regroupe mes découvertes de secrets méthodes astuces to add cookies to local media player to skip youtube throttle of yt-dlp and play protected youtube twitter facebook videos :
Authentication Options:
https : // mpv. io/manual/stable/#options-ytdl-raw-options
https : // github . com/ ytdl-org/youtube-dl/blob/master/README.md#authentication-options
--ytdl-raw-options=username=user,password=pass
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 aid we should disconnect from our youtube account if this doesn't work and try again )
chrome --disable-features=LockProfileCookieDatabase --disable-features=NetworkServiceSandbox
Network Service Sandbox
https : // docs . google . com / document/ d/ 1Bk3Z8CUQucd8FP6ISKkT3Q9YYuP43574VIO_kyAISBU/view
https : // github . com/ rotemdan/ ExportCookies
stream-detector
this extension can export browser cookies to external tool
https : // github . com / 54ac / stream-detector
cliget
also this extension let export cookies to external tool
https : // github . com/ zaidka / cliget
https :// github . com/fnxweb/neo-diggler (can export cookies to external tool)
https : // github . com/einKnie/ video-detector
kframeurl in :
chrome://media-internals/
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
jonathan.racaud@outlook.com
*******
https://github.com/akiirui/userscript/t ... y-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/m ... -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
kairi.satellite@gmail.com
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)
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
kairi.satellite@gmail.com
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)
******
open with preview video extensions addons add ons
cat catch preview setting
potplayer://${url} /referer="${referer}"
https:// github. com/xifangczy/cat-catch
https:// github. com/xifangczy/URLProtocol
https : // bmmmd. com/
https : // o2bmm. gitbook .io/cat-catch
qqoowuwo@126.com
https:// github. com/andy-portmen/open-in-vlc
https:// github. com/andy-portmen/native-client
https:// github. com/andy-portmen/external-application-button
https : // webextension. org/listing/open-in-vlc.html
https : // webextension. org/listing/external-application-button.html
3DYD Youtube Source plugin
https://ys. 3dyd. com/
https:// github. com/woodruffw/ff2mpv
yt-dlp windows 7 OS yt-dlp fork with in-between releases
https:// github.com /nicolaasjan/yt-dlp
https:// github.com /ytdl-patched/ytdl-patched
https : // github. com /ytdl-patched/ytdl-patched
https :// github. com /yt-dlp/yt-dlp/wiki/Forks
stream link stream-link
https:// github .com/BellezaEmporium/query-streamlink
https:// github .com/keystroke3/query-streamlink
https : // streamlink .github.io/
https : // github. com/streamlink/streamlink
Authentication Options:
https : // mpv. io/manual/stable/#options-ytdl-raw-options
https : // github . com/ ytdl-org/youtube-dl/blob/master/README.md#authentication-options
--ytdl-raw-options=username=user,password=pass
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 aid we should disconnect from our youtube account if this doesn't work and try again )
chrome --disable-features=LockProfileCookieDatabase --disable-features=NetworkServiceSandbox
Network Service Sandbox
https : // docs . google . com / document/ d/ 1Bk3Z8CUQucd8FP6ISKkT3Q9YYuP43574VIO_kyAISBU/view
https : // github . com/ rotemdan/ ExportCookies
stream-detector
this extension can export browser cookies to external tool
https : // github . com / 54ac / stream-detector
cliget
also this extension let export cookies to external tool
https : // github . com/ zaidka / cliget
https :// github . com/fnxweb/neo-diggler (can export cookies to external tool)
https : // github . com/einKnie/ video-detector
kframeurl in :
chrome://media-internals/
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
jonathan.racaud@outlook.com
*******
https://github.com/akiirui/userscript/t ... y-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/m ... -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
kairi.satellite@gmail.com
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)
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
kairi.satellite@gmail.com
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)
******
open with preview video extensions addons add ons
cat catch preview setting
potplayer://${url} /referer="${referer}"
https:// github. com/xifangczy/cat-catch
https:// github. com/xifangczy/URLProtocol
https : // bmmmd. com/
https : // o2bmm. gitbook .io/cat-catch
qqoowuwo@126.com
https:// github. com/andy-portmen/open-in-vlc
https:// github. com/andy-portmen/native-client
https:// github. com/andy-portmen/external-application-button
https : // webextension. org/listing/open-in-vlc.html
https : // webextension. org/listing/external-application-button.html
3DYD Youtube Source plugin
https://ys. 3dyd. com/
https:// github. com/woodruffw/ff2mpv
yt-dlp windows 7 OS yt-dlp fork with in-between releases
https:// github.com /nicolaasjan/yt-dlp
https:// github.com /ytdl-patched/ytdl-patched
https : // github. com /ytdl-patched/ytdl-patched
https :// github. com /yt-dlp/yt-dlp/wiki/Forks
stream link stream-link
https:// github .com/BellezaEmporium/query-streamlink
https:// github .com/keystroke3/query-streamlink
https : // streamlink .github.io/
https : // github. com/streamlink/streamlink