GithubHelp home page GithubHelp logo

joeanamier / xhs-downloader Goto Github PK

View Code? Open in Web Editor NEW
4.9K 21.0 721.0 6.25 MB

小红书链接提取/作品采集工具:提取账号发布、收藏、点赞、专辑作品链接;提取搜索结果作品、用户链接;采集小红书作品信息;提取小红书作品下载地址;下载小红书无水印作品文件!

License: GNU General Public License v3.0

Python 65.90% JavaScript 33.86% Dockerfile 0.24%
python xhs json linux macos windows aiohttp textual css javascript

xhs-downloader's People

Contributors

catdddmouse avatar chreer avatar hyh1750522171 avatar joeanamier avatar sherlocknovitch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xhs-downloader's Issues

自动化采集的设想

本地cookie能否成功获取图片与webid和websession相关

只需要可以自动的获取和运行时维护好就可以持续性的获取图片,结束的时候再保存到配置文件中即可

但是自动化采集不能采集搜索出来的web界面,没有有效的abroadID去请求列表元素,获得exporeID

下载失败

只会自动创建文件夹,但是文件夹是空的,添加Cookie也没用

下载不了

如题 只是反馈
['https://sns-img-qc.xhscdn.com/1000g0082b1u344ah20005nmhkghg8cqp0mhc4k8', 'http
s://sns-img-qc.xhscdn.com/1000g0082b1u344ah200g5nmhkghg8cqps72hai8', 'https://sn
s-img-qc.xhscdn.com/1000g0082b1u344ah20105nmhkghg8cqpkauk1pg', 'https://sns-img-
qc.xhscdn.com/1000g0082b1u344ah201g5nmhkghg8cqp2s22gt0', 'https://sns-img-qc.xhs
cdn.com/1000g0082b1u344ah20205nmhkghg8cqppnekcvg', 'https://sns-img-qc.xhscdn.co
m/1000g0082b1u344ah202g5nmhkghg8cqpmui1150', 'https://sns-img-qc.xhscdn.com/1000
g0082b1u344ah20305nmhkghg8cqpft5dfcg', 'https://sns-img-qc.xhscdn.com/1000g0082b
1u344ah203g5nmhkghg8cqpcs6m5vg', 'https://sns-img-qc.xhscdn.com/1000g0082b1u344a
h20405nmhkghg8cqpffv2l28', 'https://sns-img-qc.xhscdn.com/1000g0082b1u344ah204g5
nmhkghg8cqp35u683o']

如何正确反馈 EXE 程序异常闪退

如果您使用 EXE 程序发生异常闪退,请参考本教程获取程序错误代码,并将错误代码以及闪退前正在进行的操作告知作者以便查找原因!

  1. 打开资源管理器,切换至项目文件夹,右键空白区域,打开终端;或者直接在地址栏输入 cmd 后按下回车键打开终端。

PixPin_2024-01-04_19-56-15

PixPin_2024-01-04_19-58-12

  1. 在终端窗口输入 .\main.exe 或者 main.exe,按下回车键运行程序。

PixPin_2024-01-04_19-58-46

  1. 重复先前发生闪退的操作,如果程序发生异常闪退,窗口不会关闭,可以复制或者查看错误信息。

macOS 无法下载

macOS源码运行之后有一大串Traceback错误信息,最后报错
ClientConnectorCertificateError: Cannot connect to host www.xiaohongshu.com:443
ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: unable to get local issuer certificate
(_ssl.c:1000)')]
Exit status: 0
谢谢大大

An idea of Web UI

I have saw another project “TikTokDownloader”,there exists a Web UI. But this "XHS-Downloader" does not have a Web UI, can I create one using “React” & “flask” and contribute my code by PR?

ClientConnectorCertificateError: Cannot connect to host www.xiaohongshu.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')]

quicktime format can be saved as mov format

Hello, when I was working on this link, I found a point that could improve the user experience:http://xhslink.com/6eOiVy

The video in this URL is downloaded through the program and saved in quicktime format. Its download address is https://sns-video-hw.xhscdn.com/01024301kqe0qqgvdwc050mx97r08bo2kt.

After checking the information, I learned that quicktime's default save type is mov. And when our browser (chrome and edge) opens this address, the browser will automatically save the format as mov by default.

In addition, for Windows' native video player, it usually does not support quicktime. It would be very convenient if quicktime could be saved as mov.

An enhancement to url handling

image

As shown in the picture, when we share a Xiaohongshu link, it may start with http.
However, the regular expression in the source code only matches https.
Can I enhance the code to automatically handle URLs starting with http to submit a pull request?

批量下载报错

每次批量下载几个作品后会跳出这个错误:

await waiter
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed

请问该如何解决 谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.