index.html 4.4 KB

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