index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/zh/loadbt/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>离线下载</title>
  9. <script>
  10. function findLang(){
  11. let href = location.href;
  12. for(let i=href.length-1;i>0;i--){
  13. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  14. return i;
  15. }
  16. return 0;
  17. }
  18. function nav2(page){
  19. let i = findLang();
  20. location.href = location.href.substring(0,i+1)+page;
  21. }
  22. function nav2Lang(lang){
  23. let i = findLang();
  24. let href = location.href;
  25. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <header class='header'>
  31. <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">离线下载
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. <li><a href="../tags/termux/index.html#">termux</a> </li>
  43. <li><a href="../tags/%e7%bd%91%e7%9b%98/index.html#">网盘</a> </li>
  44. <li><a href="../tags/%e7%a6%bb%e7%ba%bf/index.html#">离线</a> </li>
  45. <li><a href="../tags/%e8%b5%84%e6%ba%90/index.html#">资源</a> </li>
  46. </ul>
  47. <ul>
  48. <li>seedr用户可使用<a href="../links/index.html#">常用链接</a>利用seedr离线下载。使用时长按链接-&gt;命令-&gt;seedr离线...。</li>
  49. <li>Telegram用户可使用<a href="../urls/index.html#">特色服务</a>利用tg bot离线下载至bot支持网盘。使用时长按链接-&gt;命令-&gt;tg...。</li>
  50. </ul>
  51. <p>百度网盘存储空间大,但其离线下载限制很多,可能由于某些重要节点被屏蔽的原因,下载国外资料基本都会失败。国外离线网盘空间小,但下载成功率很高。<br>
  52. 本文介绍一种技术,使用国外离线网盘下载资源,然后一键离线至百度网盘。</p>
  53. <p><a href="../index.html#">超微浏览器</a>上配置百度离线下载</p>
  54. <ul>
  55. <li>
  56. <p>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a>。</p>
  57. </li>
  58. <li>
  59. <p>安装baidupcs-go:</p>
  60. <ul>
  61. <li>直接下载<a href="https://github.com/felixonmars/BaiduPCS-Go/releases">BaiduPCS-Go</a>,安卓手机请选择arm64版本。</li>
  62. <li>解压下载文件</li>
  63. <li>移动解压后文件至最终目的地。Termux运行以下命令:<br>
  64. <code>mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/.<br>
  65. chmod 777 /data/data/com.termux/files/usr/bin/BaiduPCS-Go<br>
  66. </code></li>
  67. </ul>
  68. </li>
  69. <li>
  70. <p>登录百度网盘, Termux执行如下命令:<br>
  71. BaiduPCS-Go login<br>
  72. BaiduPCS-Go config set -appid=266719</p>
  73. </li>
  74. <li>
  75. <p>default.longclick配置如下:<br>
  76. 百度离线下载:termux/*:BaiduPCS-Go od add &quot;%u&quot;;exit 1</p>
  77. </li>
  78. <li>
  79. <p>重启超微浏览器,此时长按链接将会出现菜单“百度离线下载”。</p>
  80. </li>
  81. <li>
  82. <p>离线下载资源至国外网盘,下载完成后在超微浏览器内点击资源下载,弹出菜单选择“百度离线下载”,完成整个流程。</p>
  83. </li>
  84. <li>
  85. <p>其它支持离线下载的网页也可<a href="../longclick">定义为一键离线</a>。</p>
  86. </li>
  87. </ul>
  88. </div>
  89. <p>Last Modified: 2 April 2024<br>
  90. add js function in README<br>
  91. <pre></pre>
  92. </p>
  93. <script id='jsgiscus'
  94. src='https://giscus.app/client.js'
  95. data-repo="torappinfo/uweb"
  96. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  97. data-category="Announcements"
  98. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  99. data-mapping="title"
  100. data-strict="0"
  101. data-reactions-enabled="1"
  102. data-emit-metadata="0"
  103. data-input-position="top"
  104. data-theme="light"
  105. data-lang="en"
  106. data-loading="lazy"
  107. crossorigin="anonymous" async>
  108. </script>
  109. <footer class="site-footer">
  110. <div class="container">
  111. &copy; 2018-2024 Richard H. Cao
  112. </div>
  113. </footer>
  114. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  115. </body>
  116. </html>