# Pixiv Downloader
A command line pixiv illust downloader.
## Install
```shell
pip install pixiv-down
```
## Usage
```shell
usage: pixd [-h]
[-b MIN_BOOKMARKS] [-c MAX_PAGE_COUNT] [-n ILLUST_NUM]
[-k] [-p PATH] [-r RESOLUTION]
[-s START] [-e END]
[-l {debug,info,warn,error}]
{iid,aid,tag,rcmd,related,ranking} ...
```
### Download illusts in diffrent ways
- `iid`
download illusts by illust id list.
e.g., `pixd iid 92578547 93005923 87052390 91681788`
- `aid`
download illusts by artist id list.
e.g., `pixd aid 671593 8062849 10475690 14496985`
- `tag`
download illusts by tag name.
e.g., `pixd tag 甘雨 刻晴 八重樱`
- `rcmd`
download illusts from recomments.
e.g., `pixd rcmd`
- `related`
download related illusts of the specified illust id.
e.g., `pixd related 70937229 87749466`
- `ranking`
download daily ranking of the specified day.
e.g., `pixd ranking 2021-01-01 2021-02-01,2021-03-31`
### Optional Arguments
- `-h, --help`
show this help message and exit
- `-b MIN_BOOKMARKS`
the min bookmarks of illust (default: 3000)
- `-c MAX_PAGE_COUNT`
the max page count of illust (default: 10)
- `-q MIN_QUALITY`
the min quality of illust, the quality eauals the num of bookmarks
per 100 views (default: None)
- `-l {1,2,3}`
the max sex level of illust (default: 2)
- `-n ILLUST_NUM`
total number of illusts to download (default: 300)
- `-p PATH`
the storage path of illusts (default: ./)
- `-r RESOLUTION`
the resolution of illusts: `s` / `m` / `l` / `o`,
i.e., square / middle / large / origin, can set multiple
- `-k`
keep the json result to files
- `--show SHOW_JSON`
print the json result on stdout
- `-s START`
the start date of illust for tag searching (default: `2016-01-01`)
- `-e END`
the end date of illust for tag searching (default: today)
- `--only_new`
only download the newest illusts from ranking
- `--without_illust`
don't download illusts when download ranking
- `-l {debug,info,warn,error}`
the log level (default: `warn`)
Raw data
{
"_id": null,
"home_page": "https://github.com/seamile/pixiv-down",
"name": "pixiv-down",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Seamile",
"author_email": "lanhuermao@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/b7/87/623fa9d58c6df7d6592150e7cf32a611968577f2014c92ee03b115ff0c78/pixiv-down-0.1.6.tar.gz",
"platform": null,
"description": "# Pixiv Downloader\n\nA command line pixiv illust downloader.\n\n\n## Install\n\n```shell\npip install pixiv-down\n```\n\n\n## Usage\n\n```shell\nusage: pixd [-h]\n [-b MIN_BOOKMARKS] [-c MAX_PAGE_COUNT] [-n ILLUST_NUM]\n [-k] [-p PATH] [-r RESOLUTION]\n [-s START] [-e END]\n [-l {debug,info,warn,error}]\n {iid,aid,tag,rcmd,related,ranking} ...\n```\n\n\n### Download illusts in diffrent ways\n\n- `iid`\n\n download illusts by illust id list.\n\n e.g., `pixd iid 92578547 93005923 87052390 91681788`\n\n- `aid`\n\n download illusts by artist id list.\n\n e.g., `pixd aid 671593 8062849 10475690 14496985`\n\n- `tag`\n\n download illusts by tag name.\n\n e.g., `pixd tag \u7518\u96e8 \u523b\u6674 \u516b\u91cd\u6a31`\n\n- `rcmd`\n\n download illusts from recomments.\n\n e.g., `pixd rcmd`\n\n- `related`\n\n download related illusts of the specified illust id.\n\n e.g., `pixd related 70937229 87749466`\n\n- `ranking`\n\n download daily ranking of the specified day.\n\n e.g., `pixd ranking 2021-01-01 2021-02-01,2021-03-31`\n\n### Optional Arguments\n\n- `-h, --help`\n\n show this help message and exit\n\n- `-b MIN_BOOKMARKS`\n\n the min bookmarks of illust (default: 3000)\n\n- `-c MAX_PAGE_COUNT`\n\n the max page count of illust (default: 10)\n\n- `-q MIN_QUALITY`\n\n the min quality of illust, the quality eauals the num of bookmarks\n per 100 views (default: None)\n\n- `-l {1,2,3}`\n\n the max sex level of illust (default: 2)\n\n- `-n ILLUST_NUM`\n\n total number of illusts to download (default: 300)\n\n- `-p PATH`\n\n the storage path of illusts (default: ./)\n\n- `-r RESOLUTION`\n\n the resolution of illusts: `s` / `m` / `l` / `o`,\n\n i.e., square / middle / large / origin, can set multiple\n\n- `-k`\n\n keep the json result to files\n\n- `--show SHOW_JSON`\n\n print the json result on stdout\n\n- `-s START`\n\n the start date of illust for tag searching (default: `2016-01-01`)\n\n- `-e END`\n\n the end date of illust for tag searching (default: today)\n\n- `--only_new`\n\n only download the newest illusts from ranking\n\n- `--without_illust`\n\n don't download illusts when download ranking\n\n- `-l {debug,info,warn,error}`\n\n the log level (default: `warn`)\n",
"bugtrack_url": null,
"license": "",
"summary": "Pixiv illusts downloader.",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/seamile/pixiv-down"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "890e2471d39b0c34db11a0956fe354e108d12e1662f72915c1f8307566b54e3b",
"md5": "0a1f61e22b30bcf9336937a6b99662df",
"sha256": "46d3fdc774277bdd182f0ce26366c78311b1b135bad3396391eecba9ae775e3c"
},
"downloads": -1,
"filename": "pixiv_down-0.1.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0a1f61e22b30bcf9336937a6b99662df",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 15601,
"upload_time": "2024-01-29T11:27:28",
"upload_time_iso_8601": "2024-01-29T11:27:28.158921Z",
"url": "https://files.pythonhosted.org/packages/89/0e/2471d39b0c34db11a0956fe354e108d12e1662f72915c1f8307566b54e3b/pixiv_down-0.1.6-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b787623fa9d58c6df7d6592150e7cf32a611968577f2014c92ee03b115ff0c78",
"md5": "b56f58d36176b892ecb78553580a45c7",
"sha256": "94ae7ac62eb0f232b3b6bbede085622aee65321a48c59daabe47e5d7aa62dadb"
},
"downloads": -1,
"filename": "pixiv-down-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "b56f58d36176b892ecb78553580a45c7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15215,
"upload_time": "2024-01-29T11:27:31",
"upload_time_iso_8601": "2024-01-29T11:27:31.072423Z",
"url": "https://files.pythonhosted.org/packages/b7/87/623fa9d58c6df7d6592150e7cf32a611968577f2014c92ee03b115ff0c78/pixiv-down-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-29 11:27:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "seamile",
"github_project": "pixiv-down",
"github_not_found": true,
"lcname": "pixiv-down"
}