mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
docs(README.md): 更新项目说明
This commit is contained in:
parent
81b88711d8
commit
3e85760b05
17
README.md
17
README.md
@ -34,7 +34,7 @@
|
||||
<li>✅ 支持 API 调用功能</li>
|
||||
<li>✅ 支持文件断点续传下载</li>
|
||||
</ul>
|
||||
<ul><b>脚本功能</b>
|
||||
<ul><a href="#user-scripts"><b>脚本功能</b></a>
|
||||
<li>✅ 下载小红书无水印作品文件</li>
|
||||
<li>✅ 提取发现页面作品链接</li>
|
||||
<li>✅ 提取账号发布作品链接</li>
|
||||
@ -54,9 +54,8 @@
|
||||
<a href="https://www.bilibili.com/video/BV1KGWNeCEyM/"><img src="static/screenshot/程序运行截图CN3.png" alt=""></a>
|
||||
<h1>🔗 支持链接</h1>
|
||||
<ul>
|
||||
<li><code>https://www.xiaohongshu.com/explore/作品ID</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/explore/作品ID?xsec_token=XXX</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/discovery/item/作品ID</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/discovery/item/作品ID?xsec_token=XXX</code></li>
|
||||
<li><code>https://xhslink.com/分享码</code></li>
|
||||
<br/>
|
||||
<p><b>支持单次输入多个作品链接,链接之间使用空格分隔;程序会自动提取有效链接,无需额外处理!</b></p>
|
||||
@ -171,7 +170,7 @@ def api_demo():
|
||||
<li>由于作品链接携带日期信息,使用先前日期获取的作品链接可能会被风控,建议下载作品文件时使用最新获取的作品链接</li>
|
||||
<li>Windows 系统需要以管理员身份运行程序才能读取 Chromium、Chrome、Edge 浏览器 Cookie</li>
|
||||
</ul>
|
||||
<h1>🕹 用户脚本</h1>
|
||||
<h1 id="user-scripts">🕹 用户脚本</h1>
|
||||
<p>如果您的浏览器安装了 <a href="https://www.tampermonkey.net/">Tampermonkey</a> 浏览器扩展程序,可以添加 <a href="https://raw.githubusercontent.com/JoeanAmier/XHS-Downloader/master/static/XHS-Downloader.js">用户脚本</a>,无需下载安装即可体验项目功能!</p>
|
||||
<img src="static/screenshot/脚本安装教程.png" alt="">
|
||||
<p>脚本安装成功后,打开小红书页面,查看脚本说明,并根据提示操作。</p>
|
||||
@ -179,6 +178,16 @@ def api_demo():
|
||||
<hr>
|
||||
<img src="static/screenshot/用户脚本截图2.png" alt="">
|
||||
<p>提示:使用 XHS-Downloader 用户脚本批量提取作品链接,搭配 XHS-Downloader 程序可以实现批量下载无水印作品文件!</p>
|
||||
<h2>📜 脚本说明</h2>
|
||||
<ul>
|
||||
<li>下载小红书无水印作品文件时,脚本需要花费时间处理文件,请等待片刻,切勿多次点击下载按钮</li>
|
||||
<li>无水印图片文件为 PNG 格式;无水印视频文件较大,可能需要较长的时间处理,页面跳转可能会导致下载失败</li>
|
||||
<li>(已禁用)<del>提取账号发布、收藏、点赞、专辑作品链接时,脚本会尝试自动滚动屏幕直至加载全部作品,滚动检测间隔:2.5 秒</del></li>
|
||||
<li>(已禁用)<del>提取发现作品链接、搜索作品、用户链接时,脚本会自动滚动屏幕以尝试加载更多内容,滚动屏幕次数:10 次</del></li>
|
||||
<li>(已禁用)<del>可以修改滚动检测间隔、滚动屏幕次数,修改后立即生效;亦可关闭自动滚动屏幕功能,手动滚动屏幕加载内容</del></li>
|
||||
<li>使用全局代理工具可能会导致脚本下载文件失败,如有异常,请尝试关闭代理工具,必要时向作者反馈</li>
|
||||
<li>XHS-Downloader 用户脚本仅实现可见即可得的数据采集功能,无任何收费功能和破解功能</li>
|
||||
</ul>
|
||||
<h1>💻 二次开发</h1>
|
||||
<p>如果有其他需求,可以根据 <code>main.py</code> 的注释提示进行代码调用或修改!</p>
|
||||
<pre>
|
||||
|
||||
17
README_EN.md
17
README_EN.md
@ -35,7 +35,7 @@
|
||||
<li>✅ Support API call functionality</li>
|
||||
<li>✅ Support file breakpoint resume download</li>
|
||||
</ul>
|
||||
<ul><b>Script Features</b>
|
||||
<ul><a href="#user-scripts"><b>Script Features</b></a>
|
||||
<li>✅ Download Xiaohongshu watermark-free works files</li>
|
||||
<li>✅ Extract discovery page works links</li>
|
||||
<li>✅ Extract account-published works links</li>
|
||||
@ -55,9 +55,8 @@
|
||||
<a href="https://www.bilibili.com/video/BV1KGWNeCEyM/"><img src="static/screenshot/程序运行截图EN3.png" alt=""></a>
|
||||
<h1>🔗 Supported Links</h1>
|
||||
<ul>
|
||||
<li><code>https://www.xiaohongshu.com/explore/WorksID</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/explore/WorksID?xsec_token=XXX</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/discovery/item/WorksID</code></li>
|
||||
<li><code>https://www.xiaohongshu.com/discovery/item/WorksID?xsec_token=XXX</code></li>
|
||||
<li><code>https://xhslink.com/ShareCode</code></li>
|
||||
<br/>
|
||||
<p><b>Supports entering multiple content links at once, separated by spaces; the program will automatically extract valid links without additional processing!</b></p>
|
||||
@ -175,7 +174,7 @@ def api_demo():
|
||||
<li>Due to the date information carried in the links of Xiaohongshu works, using links obtained from previous dates may be subject to risk control. It is recommended to use the latest Xiaohongshu works links when downloading Xiaohongshu work files</li>
|
||||
<li>Windows system requires running programs as an administrator to read Chromium, Chrome, Edge browser cookies</li>
|
||||
</ul>
|
||||
<h1>🕹 User Script</h1>
|
||||
<h1 id="user-scripts">🕹 User Script</h1>
|
||||
<p>If your browser has the <a href="https://www.tampermonkey.net/">Tampermonkey</a> browser extension installed, you can add the <a href="https://raw.githubusercontent.com/JoeanAmier/XHS-Downloader/master/static/XHS-Downloader.js">user script</a> to experience the project features without needing to download or install anything!</p>
|
||||
<img src="static/screenshot/脚本安装教程.png" alt="">
|
||||
<p>After successfully installing the script, open the Xiaohongshu page, check the script instructions, and follow the prompts to operate.</p>
|
||||
@ -183,6 +182,16 @@ def api_demo():
|
||||
<hr>
|
||||
<img src="static/screenshot/用户脚本截图2.png" alt="">
|
||||
<p>Note: Using the XHS-Downloader user script to batch extract content links, in combination with the XHS-Downloader program, can achieve batch downloading of watermark-free content files!</p>
|
||||
<h2>📜 Script Instructions</h2>
|
||||
<ul>
|
||||
<li>When downloading watermark-free Xiaohongshu作品 files, the script will take some time to process the files, please wait a moment and do not click the download button multiple times</li>
|
||||
<li>Watermark-free image files are in PNG format; watermark-free video files are larger and may take longer to process, page jumps may cause download failures</li>
|
||||
<li>(Disabled)<del>When extracting links of account posts, favorites, likes, and album作品, the script will attempt to automatically scroll the screen until all作品 are loaded, with a scroll detection interval of 2.5 seconds</del></li>
|
||||
<li>(Disabled)<del>When extracting discovery作品 links, search作品, and user links, the script will automatically scroll the screen to try to load more content, scrolling the screen up to 10 times</del></li>
|
||||
<li>(Disabled)<del>You can modify the scroll detection interval and the number of screen scrolls, changes will take effect immediately; you can also disable the automatic screen scrolling function and manually scroll to load content</del></li>
|
||||
<li>Using global proxy tools may cause the script to fail to download files, if there are issues, please try closing the proxy tool, and feedback to the author if necessary</li>
|
||||
<li>The XHS-Downloader user script only implements the data collection function that can be obtained visibly, with no paid features or cracking functions</li>
|
||||
</ul>
|
||||
<h1>💻 Secondary Development</h1>
|
||||
<p>If you have other needs, you can perform code calls or modifications based on the comments in <code>main.py</code>!</p>
|
||||
<pre>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user