{"id":314,"date":"2026-04-08T19:52:07","date_gmt":"2026-04-08T11:52:07","guid":{"rendered":"https:\/\/blog.zeronely.cn\/?p=314"},"modified":"2026-04-08T19:52:08","modified_gmt":"2026-04-08T11:52:08","slug":"%e5%85%b3%e4%ba%8e%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e6%8d%ae%e9%9b%86%e4%b8%8b%e8%bd%bd%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e9%80%9a%e8%bf%87baidupcs-go%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.zeronely.cn\/index.php\/2026\/04\/08\/%e5%85%b3%e4%ba%8e%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e6%8d%ae%e9%9b%86%e4%b8%8b%e8%bd%bd%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e9%80%9a%e8%bf%87baidupcs-go%ef%bc%89\/","title":{"rendered":"\u5173\u4e8e\u5982\u4f55\u5c06\u6570\u636e\u96c6\u4e0b\u8f7d\u5230\u670d\u52a1\u5668\uff08\u901a\u8fc7BaiduPCS-Go\uff09"},"content":{"rendered":"\n<p>\u8fd1\u65e5\uff0c\u5728\u4f7f\u7528autodl\u670d\u52a1\u5668\u548c\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u65f6\uff0c\u611f\u89c9\u4f20\u6570\u636e\u96c6\u6216\u8005\u6743\u91cd\u975e\u5e38\u4e0d\u65b9\u4fbf\uff0c\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u901a\u8fc7hf-mirror\u8fdb\u884c\uff0c\u7136\u800c\u6709\u65f6\u5373\u4f7f\u4f7f\u7528\u955c\u50cf\uff0c\u4f20\u8f93\u901f\u5ea6\u4e5f\u7279\u522b\u6162\uff0c\u6216\u8005\u6709\u7684\u6570\u636e\u96c6\u96be\u4ee5\u83b7\u5f97\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u8bb0\u5f55\u4e00\u4e0b\u5982\u4f55\u4f7f\u7528<a href=\"https:\/\/github.com\/qjfoidnh\/BaiduPCS-Go.git\">https:\/\/github.com\/qjfoidnh\/BaiduPCS-Go.git<\/a>\u53bb\u8fdb\u884c\u6570\u636e\u96c6\u7684\u4f20\u8f93\uff08\u6709\u65f6\u5019\u53ef\u4ee5\u5728\u767e\u5ea6\u7f51\u76d8\u7684\u5206\u4eab\u4e2d\u627e\u5230\u975e\u5b98\u65b9\u7684\u6570\u636e\u96c6\uff09<\/p>\n\n\n\n<p>\u9996\u5148\u662f\u4e0b\u8f7d\u548c\u5b89\u88c5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1. \u4e0b\u8f7d\u6700\u65b0\u7248\uff08\u4ee5 Linux amd64 \u4e3a\u4f8b\uff0cmacOS \u8bf7\u66ff\u6362\u4e3a darwin-amd64\uff09\nwget https:\/\/github.com\/qjfoidnh\/BaiduPCS-Go\/releases\/download\/v3.9.5\/BaiduPCS-Go-v3.9.5-linux-amd64.zip\n\n# 2. \u89e3\u538b\nunzip BaiduPCS-Go-v3.9.5-linux-amd64.zip\n\n# 3. \u8fdb\u5165\u76ee\u5f55\u5e76\u8d4b\u4e88\u6267\u884c\u6743\u9650\ncd BaiduPCS-Go-v3.9.5-linux-amd64\nchmod +x BaiduPCS-Go\n\n# 4. \u8fd0\u884c\n.\/BaiduPCS-Go<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u662f\u767b\u5f55\u65b9\u9762\uff0c\u4f7f\u7528cookies\u767b\u5f55\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u94fe\u63a5\uff1a<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/1960328529683132667\">\u4f7f\u7528BaiduPCS-Go\u5728\u670d\u52a1\u5668\u4e2d\u5b9e\u73b0\u767e\u5ea6\u7f51\u76d8\u6570\u636e\u7684\u4e0a\u4f20\u4e0e\u4e0b\u8f7d &#8211; \u77e5\u4e4e<\/a><\/p>\n\n\n\n<p>\u4e5f\u53ef\u4ee5\u7528bduss\u767b\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u65b9\u5f0f1\uff1a\u4ea4\u4e92\u5f0f\u767b\u5f55\uff08\u8f93\u5165\u7528\u6237\u540d\u5bc6\u7801\uff09\n.\/BaiduPCS-Go login\n\n# \u65b9\u5f0f2\uff1a\u4f7f\u7528 BDUSS \u767b\u5f55\uff08\u63a8\u8350\uff0c\u4ece\u6d4f\u89c8\u5668 Cookie \u83b7\u53d6\uff09\n.\/BaiduPCS-Go login -bduss=\u4f60\u7684BDUSS\u503c<\/code><\/pre>\n\n\n\n<p>\u6700\u540e\u662f\u5e38\u7528\u6307\u4ee4\u548c\u4e0b\u8f7d\uff1a<\/p>\n\n\n\n<p>.\/BaiduPCS-Go ls # \u5217\u51fa\u6587\u4ef6<br>.\/BaiduPCS-Go cd \/\u6211\u7684\u8d44\u6e90 # \u5207\u6362\u76ee\u5f55<br>.\/BaiduPCS-Go download \u6587\u4ef6\u540d # \u4e0b\u8f7d\u6587\u4ef6<br>.\/BaiduPCS-Go upload \u672c\u5730\u6587\u4ef6 \u7f51\u76d8\u8def\u5f84 # \u4e0a\u4f20\u6587\u4ef6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd1\u65e5\uff0c\u5728\u4f7f\u7528autodl\u670d\u52a1\u5668\u548c\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u65f6\uff0c\u611f\u89c9\u4f20\u6570\u636e\u96c6\u6216\u8005\u6743\u91cd\u975e\u5e38\u4e0d\u65b9\u4fbf\uff0c\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u901a\u8fc7hf-mirr [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":1,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/posts\/314\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zeronely.cn\/index.php\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}