xiaomusic/docs/.vitepress/dist/assets/issues_210.md.C4LG69AC.js

3 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-12-12 17:02:34 +00:00
import{_ as e,c as a,a0 as o,o as i}from"./chunks/framework.p2VkXzrt.js";const u=JSON.parse('{"title":"yt-dlp cookies 文件上传功能","description":"","frontmatter":{"title":"yt-dlp cookies 文件上传功能"},"headers":[],"relativePath":"issues/210.md","filePath":"issues/210.md","lastUpdated":null}'),s={name:"issues/210.md"};function l(c,t,r,n,h,d){return i(),a("div",null,t[0]||(t[0]=[o(`<h1 id="yt-dlp-cookies-文件上传功能" tabindex="-1">yt-dlp cookies 文件上传功能 <a class="header-anchor" href="#yt-dlp-cookies-文件上传功能" aria-label="Permalink to &quot;yt-dlp cookies 文件上传功能&quot;" target="_self"></a></h1><p>此功能用于解决 yt-dlp 下载资源失败时使用,比如 ip 被 B站或者 youtube 加入黑名单后才需要使用。</p><p>上传的文件用于 yt-dlp 的 <code>--cookies</code> 参数。</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>--cookies FILE Netscape formatted file to read cookies from</span></span>
<span class="line"><span> and dump cookie jar in</span></span></code></pre></div><h2 id="-cookies-txt-" tabindex="-1"> cookies.txt <a class="header-anchor" href="#-cookies-txt-" aria-label="Permalink to &quot; cookies.txt &quot;" target="_self"></a></h2><ol><li> <a href="https://chromewebstore.google.com/detail/cclelndahbckbenkjhflpdbgdldlbecc" target="_self">Get cookies.txt LOCALLY</a></li><li>访使 <img src="https://github.com/user-attachments/assets/89f6ce94-bb51-4805-8c16-a867ba41e5d2" alt="image"></li><li></li><li> youtube.com</li><li> youtube.com</li><li></li><li> youtube.com </li><li> cookies.txt <img src="https://github.com/user-attachments/assets/64242595-7b5c-4159-a8bc-4fc922d5de9e" alt="image"></li></ol><p> <a href="https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies" target="_self">https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies</a></p><h2 id="-cookies-txt" tabindex="-1"> cookies.txt <a class="header-anchor" href="#-cookies-txt" aria-label="Permalink to &quot; cookies.txt&quot;" target="_self"></a></h2><ol><li></li><li>yt-dlp-cookies true <img src="https://github.com/user-attachments/assets/49760905-475b-493c-9ff4-271c5e797b2f" alt="Screenshot_2024-09-29-22-31-40-134_com android chrome-edit"></li><li></li><li> cookies.txt <img src="https://github.com/user-attachments/assets/838bfd1c-f19f-4690-86b0-8208d596fbf1" alt="Screenshot_2024-09-29-22-33-21-361_com android chrome-edit"></li></ol><h2 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;" target="_self"></a></h2><ol><li> cookies.txt </li><li> cookies.txt </li></ol><h2 id="" tabindex="-1"> <a class="header-anchor" href="#" aria-label="Permalink to &quot;&quot;" target="_self"></a></h2><h3 id="-1-kingfly2016" tabindex="-1"> 1 - kingfly2016 <a class="header-anchor" href="#-1-kingfly2016" aria-label="Permalink to &quot; 1 - kingfly2016&quot;" target="_self"></a></h3><p>0.3.37yt-dlp-cookies cookies,cookies.txtconf,. <img src="https://github.com/user-attachments/assets/9b8b9750-b616-4fd3-8a3c-216b2f99d02c" alt="_11-10-2024_183725_192 168 6 202"></p><hr><h3 id="-2-hanxi" tabindex="-1"> 2 - hanxi <a class="header-anchor" href="#-2-hanxi" aria-label="Permalink to &quot; 2 - hanxi&quot;" target="_self"></a></h3><p>38 :main</p><hr><h3 id="-3-kingfly2016" tabindex="-1"> 3 - kingfly2016 <a class="header-anchor" href="#-3-kingfly2016" aria-label="Permalink to &quot; 3 - kingfly2016&quot;" target="_self"></a></h3><blockquote><p>38 :main</p></blockquote><p></p><hr><p><a href="https://github.com/hanxi/xiaomusic/issues/210" target="_self"> GitHub Issue</a></p>`,23)]))}const b=e(s,[["render",l]]);export{u as __pageData,b as default};