JoeanAmier / XHS-Downloader

小红书链接提取/作品采集工具:提取账号发布、收藏、点赞、专辑作品链接;提取搜索结果作品、用户链接;采集小红书作品信息;提取小红书作品下载地址;下载小红书无水印作品文件!
GNU General Public License v3.0
5.55k stars 817 forks source link

An idea of Web UI #14

Open Chreer opened 11 months ago

Chreer commented 11 months ago

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?

JoeanAmier commented 11 months ago

My current focus is on improving the stability of project functionality. At present, the graphical interface is TUI, implemented using textual modules, and API modes may be added in the future. If you wish to contribute code or develop sub projects, I hope you have a good coding style and comply with the PEP8 specification. In addition, the next version will introduce coroutines, and Flask may not be the best choice. You may need to use backend modules that support coroutines.

Chreer commented 11 months ago

Thank U!!! I will also try to follow what you are focusing and solve some problem.

JoeanAmier commented 11 months ago

In the future version, I will replace the requests module with the aiohttp module. The aiohttp module supports both the client and server. If you use the aiohttp module, it can make the project light weight without introducing additional modules.

This is the document for aiohttp: https://docs.aiohttp.org/en/stable/index.html

JoeanAmier commented 11 months ago

In addition, currently the project only supports Chinese. If your mother tongue is English, you can translate it into English.

Chreer commented 10 months ago

Aho, support for English is added and I will keep improving this function. Besides, the idea of Web UI is basically completed, but the structure of the code may become really different from the original. In order to protect your original version, could you please create another branch for the Web UI version.

JoeanAmier commented 10 months ago

In the future, I plan to add API functionality. Perhaps you only need to be responsible for the HTML, JavaScript, and CSS code of the webpage front-end, without considering the Python code of the back-end. I will handle it

Chreer commented 10 months ago

I get it !