{"id":3076,"date":"2023-03-19T11:20:07","date_gmt":"2023-03-19T03:20:07","guid":{"rendered":"https:\/\/www.qqsg.ga\/?p=3076"},"modified":"2023-09-02T21:13:20","modified_gmt":"2023-09-02T13:13:20","slug":"%e8%ae%b0%e4%b8%80%e6%ac%a1metube%e5%a4%b1%e6%95%88%e7%9a%84docker%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=3076","title":{"rendered":"\u8bb0\u4e00\u6b21Metube\u5931\u6548\u7684docker\u5206\u6790"},"content":{"rendered":"\n<figure class=\"wp-block-pullquote\"><blockquote><p>Error adding URL: ERROR: [youtube] 7bOptq-NPJQ: Unable to extract uploader id; 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<\/p><\/blockquote><\/figure>\n\n\n\n<p>\u4e0a\u4e2a\u6708\u8001\u5a46\u53cd\u6620\u5bb6\u91cc\u4e0b\u8f7dYoutube\u7684\u670d\u52a1\u5668\u7f51\u9875\u5de5\u4f5c\u4e0d\u6b63\u5e38\uff0c\u5177\u4f53\u63d0\u793a\u7684\u5c31\u662fuploader\u7684\u5730\u5740\u4e0d\u80fd\u6210\u529f\u7684\u89e3\u6790\uff0c\u95ee\u9898\u51fa\u73b0\u5728\u4e0a\u4e2a\u6708Youtube\u7684\u4e00\u6b21\u66f4\u65b0\u3002\u653e\u72d7\u641c\u4e00\u4e0b\u89e3\u51b3\u529e\u6cd5\uff0c\u770b\u5230\u6709\u4eba\u63d0\u5230\u6240\u6709GUI\u7684\u4ec0\u4e48(\u4f8b\u5982\u6211\u7528\u7684Metube\u548c\u53e6\u4e00\u4e2a\u6d41\u884c\u7248\u672c\u7684mikenye\uff09\u90fd\u662f\u57fa\u4e8eyt-dlp\u7684\u5f15\u64ce\uff0c\u53ea\u8981\u5f15\u64ce\u7684\u95ee\u9898\u89e3\u51b3\u4e86\u5c31\u89e3\u51b3\u4e86\u6240\u6709\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u95ee\u9898\u7b80\u5355\u4e86\uff0c\u53ea\u9700\u8981\u66f4\u65b0yt-dlp\uff0c\u800c\u5728github\u4e0a\u7684\u5b98\u65b9\u6307\u5bfc\u662f\u7528yt-dlp -U\uff0c\u4f46\u662f\u6211\u4f7f\u7528\u4e4b\u540e\u62a5\u9519\uff0c\u63d0\u793a\u6211\u7684\u4f7f\u7528pip\u5b89\u88c5\u7684\u3002\u3002\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u5c31\u662f\u5229\u7528pip\u66f4\u65b0\u7684\u6307\u4ee4\uff1apip install &#8211;upgrade yt-dlp<\/p>\n\n\n\n<p>\u8fd9\u91cc\u5fd8\u8bb0\u4e86\uff0c\u6211\u4eec\u9700\u8981\u5728docker\u91cc\u9762\u8fd0\u884cpip install &#8211;upgrade yt-dlp\uff0c \u8fd9\u91cc\u5c31\u8981\u77e5\u9053\u5982\u4f55\u5728docker\u91cc\u9762\u8fd0\u884c\u6307\u4ee4\u884c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u627e\u51fadocker\u7684\u53f7\u7801<\/li>\n\n\n\n<li>\u542f\u52a8\u6267\u884cdocker \u4ee3\u7801<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">~$ sudo docker ps\n[sudo] password for zqq: \nCONTAINER ID   IMAGE                                    COMMAND                  CREATED        STATUS          PORTS                                       NAMES\n1cdd81d6b5c9   alexta69\/metube                          \".\/docker-entrypoint\u2026\"   9 days ago     Up 7 days       0.0.0.0:8081->8081\/tcp, :::8081->8081\/tcp   metube\n2a90f183d701   lscr.io\/linuxserver\/calibre-web:latest   \"\/init\"                  3 months ago   Up 7 days       0.0.0.0:8083->8083\/tcp, :::8083->8083\/tcp   calibre-web\nb8d43d06cfae   doocs\/md:latest                          \"md\"                     3 months ago   Up 19 minutes   0.0.0.0:8080->80\/tcp, :::8080->80\/tcp       amazing_gagarin<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">zqq@MacUbnt:~$ sudo docker exec -it 1cdd81d6b5c9 pip install --upgrade yt-dlp\nRequirement already satisfied: yt-dlp in \/usr\/local\/lib\/python3.8\/site-packages (2022.11.11)\nCollecting yt-dlp\n  Downloading yt_dlp-2023.3.4-py2.py3-none-any.whl (2.9 MB)\n     \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 2.9\/2.9 MB 3.2 MB\/s eta 0:00:00\nRequirement already satisfied: brotli in \/usr\/local\/lib\/python3.8\/site-packages (from yt-dlp) (1.0.9)\nRequirement already satisfied: websockets in \/usr\/local\/lib\/python3.8\/site-packages (from yt-dlp) (10.4)\nRequirement already satisfied: mutagen in \/usr\/local\/lib\/python3.8\/site-packages (from yt-dlp) (1.46.0)\nRequirement already satisfied: pycryptodomex in \/usr\/local\/lib\/python3.8\/site-packages (from yt-dlp) (3.15.0)\nRequirement already satisfied: certifi in \/usr\/local\/lib\/python3.8\/site-packages (from yt-dlp) (2022.9.24)\nInstalling collected packages: yt-dlp\n  Attempting uninstall: yt-dlp\n    Found existing installation: yt-dlp 2022.11.11\n    Uninstalling yt-dlp-2022.11.11:\n      Successfully uninstalled yt-dlp-2022.11.11\nSuccessfully installed yt-dlp-2023.3.4<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u5343\u8a00\u4e07\u8bed\u6c47\u6210\u4e00\u53e5\u6307\u4ee4\uff1a \nsudo docker exec -it &lt;Docker ID> pip install --upgrade yt-dlp<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Error adding URL: ERROR:  [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[253],"tags":[1648,2761,2603,356,484,2762,2763,2760],"class_list":["post-3076","post","type-post","status-publish","format-standard","hentry","category-fun","tag-docker","tag-metube","tag-shell","tag-youtube","tag-youtube-dl","tag-yt-dlp","tag-yt-dlp-u","tag-2760"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3076"}],"version-history":[{"count":3,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3076\/revisions"}],"predecessor-version":[{"id":3211,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3076\/revisions\/3211"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}