-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] independent chinese README
- Loading branch information
Showing
7 changed files
with
112 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
20180611 0.1.0-alpha1 | ||
允许在txt中使用Python风格的注释,即以#开头的内容会被忽略 | ||
对txt中的空白符进行处理 | ||
保存路径不再强制包含 ArtStation | ||
默认保存路径现在为用户根路径 | ||
|
||
20190131 0.1.1-alpha | ||
重构代码结构 | ||
加入命令行模式 | ||
GUI和命令行均加入允许选择下载文件类型(所有、图片、视频)功能 | ||
|
||
20190422 0.1.1-alpha1 | ||
对不同报错情况进行提示 | ||
增加独立的中文README |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# ArtStation Downloader | ||
|
||
ArtStation Downloader 是一个帮助你批量从[ArtStation](https://www.artstation.com/)网站下载图片和视频的小工具 | ||
|
||
## 用法 | ||
|
||
### 从这里开始 | ||
|
||
[在此下载](https://github.com/findix/ArtStationDownloader/releases) | ||
|
||
### 如何下载 | ||
|
||
输入你希望下载的作者的主页地址,或者其用户名 | ||
|
||
如 | ||
|
||
`https://www.artstation.com/xrnothing` 或者 `xrnothing` | ||
|
||
然后点击 Download 按钮 | ||
|
||
你可以一次下载多位作者的作品 | ||
|
||
只需要在输入他们的 URL 或用户名时,在中间加入英文的","即可 | ||
|
||
或者,你也可以新建一个文本文件(.txt),每一行输入一位作者的信息。 | ||
(允许使用 Python 风格的注释,即 # 后的内容会被忽略,空白符与空行同样也会被忽略) | ||
|
||
然后点击 Download txt 按钮选择文件即可。 | ||
|
||
Type 下拉选单可以设置下载资源的类型, 你可以选择“只下载图片”、“只下载视频”以及“全部下载” | ||
|
||
Path 输入框内是下载文件夹位置,你可以按需求设置。 | ||
|
||
## 缺陷与反馈 | ||
|
||
如果在使用过程中发现任何错误、问题或是希望讨论,请使用 [Github Issues](https://github.com/findix/ArtStationDownloader/issues). | ||
|
||
非常欢迎提交 Pull requests! | ||
|
||
## 打包 | ||
|
||
需要 Pyinstaller. | ||
|
||
运行 `build.bat` | ||
|
||
## For macOS/Linux/Shell | ||
|
||
首先执行 `pip install -r requirements.txt` 安装依赖 | ||
|
||
在 shell 中执行 `python ./src/ArtStationDownloader.py` 开启图形界面 | ||
|
||
或者 | ||
|
||
直接运行类似下面的命令: | ||
|
||
`python ./src/ArtStationDownloader.py -u username_of_artist other_username or_more -d where/you/what` | ||
|
||
您可以尝试输入 `python ./src/ArtStationDownloader.py --help` 查看更多用法 | ||
|
||
## FAQ | ||
|
||
> **为什么我在点击下载后报错 `[Error] [403 Forbidden] You are blocked by artstation`?** | ||
ArtStation 有一个 [验证码](https://zh.wikipedia.org/zh-hans/%E9%AA%8C%E8%AF%81%E7%A0%81) 系统 (由 Cloudflare 提供)。如果你无法证明你不是爬虫,就会被禁止访问,这个问题目前我还没有找到解决办法,如果您有方式解决,请告诉我。 | ||
|
||
|
||
## LICENSE | ||
|
||
MIT License | ||
|
||
Copyright (c) 2018-2019 Sean Feng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
pyinstaller --windowed .\src\ArtStationDownloader.py | ||
pyinstaller -y --windowed .\src\ArtStationDownloader.py | ||
pyinstaller -y --windowed -F .\src\ArtStationDownloader.py | ||
@pause |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,9 @@ | |
"""批量下载ArtStation图片 | ||
Copyright 2018-2019 Sean Feng([email protected]) | ||
CHANGELOG | ||
20180611 0.1.0-alpha1 | ||
允许在txt中使用Python风格的注释,即以#开头的内容会被忽略 | ||
对txt中的空白符进行处理 | ||
保存路径不再强制包含 ArtStation | ||
默认保存路径现在为用户根路径 | ||
20190131 0.1.1-alpha | ||
重构代码结构 | ||
加入命令行模式 | ||
GUI和命令行均加入允许选择下载文件类型(所有、图片、视频)功能 | ||
""" | ||
__version__ = "0.1.1-alpha" | ||
|
||
__version__ = "0.1.1-alpha1" | ||
# $Source$ | ||
|
||
import argparse | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters