Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xavierjiezou/ys-dl

Command-line program to download images from Genshin Impact Community.
https://github.com/xavierjiezou/ys-dl

chrome downloader genshin-impact image mihoyo poetry pypi python requests rich selenium

Last synced: about 2 months ago
JSON representation

Command-line program to download images from Genshin Impact Community.

Awesome Lists containing this project

README

        


logo

原神下载器


一个可以从原神社区自动抓取图片的命令行工具。



GitHub Workflow Release Status


Codacy Badge


codecov


PyPI - Python Version


PyPI - Downloads


PyPI


GitHub stars


GitHub forks


GitHub issues


GitHub license






forthebadge made-with-python


ForTheBadge built-with-love



观看演示

报告错误

功能需求



English

简体中文


喜欢这个项目吗?请考虑捐赠微信 | 支付宝),以帮助它改善!

## 演示

![demo](https://raw.githubusercontent.com/XavierJiezou/ys-dl/main/image/demo.png)

![show](https://raw.githubusercontent.com/XavierJiezou/ys-dl/main/image/show.png)

## 功能

- [x] 原神[官网](https://ys.mihoyo.com/)图标下载
- [x] 原神[官网](https://ys.mihoyo.com/)背景图片下载
- [x] 原神社区 [COS](https://bbs.mihoyo.com/ys/home/49) 图下载
- [x] 原神社区[同人图](https://bbs.mihoyo.com/ys/home/29)下载
- [x] 原神社区 [COS 榜](https://bbs.mihoyo.com/ys/imgRanking/49/1)与[同人榜](https://bbs.mihoyo.com/ys/imgRanking/29/1)下图片载
- [ ] 原神社区[话题标签](https://bbs.mihoyo.com/ys/topicDetail/558)所属图片下载

## 安装

```bash
pip install ys-dl
```

---

`ys-dl`是基于 [selenium](https://www.selenium.dev/) 开发的。目前唯一支持的浏览器是 Chrome,因此你的系统必须安装有 Chrome 浏览器,并下载 [Chrome WebDriver](https://chromedriver.chromium.org/downloads) 放入 Python 安装目录。(想了解关于 WebDriver 的详细信息?请参阅[这里](https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers/))

## 用法

`$ ys-dl`

- 原神社区 [COS](https://bbs.mihoyo.com/ys/home/49) 图片下载

```bash
ys-dl cos
```

- 原神社区[同人图](https://bbs.mihoyo.com/ys/home/29)下载

```bash
ys-dl fan
```

- 根据排名(日榜 | 周榜 | 月榜)下载原神社区 [COS 图](https://bbs.mihoyo.com/ys/imgRanking/49/1)或[同人图](https://bbs.mihoyo.com/ys/imgRanking/29/1)

```bash
ys-dl rank
```

## 更新

更新日志见 [CHANGELOG.md](/CHANGELOG.md)

## 证书

[MIT License](/LICENSE)

## 参考

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=python-poetry&repo=poetry)](https://github.com/python-poetry/poetry)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=SeleniumHQ&repo=selenium)](https://github.com/SeleniumHQ/selenium)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=psf&repo=requests)](https://github.com/psf/requests)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=Textualize&repo=rich)](https://github.com/Textualize/rich)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=google&repo=python-fire)](https://github.com/google/python-fire)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=pytest-dev&repo=pytest)](https://github.com/pytest-dev/pytest)