{ "info": { "author": "eternal-flame-AD", "author_email": "ef@eternalflame.cn", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# px_helper [](https://travis-ci.org/eternal-flame-AD/px_helper) [](https://coveralls.io/github/eternal-flame-AD/px_helper?branch=master)\n\n2018-6-16 Ugoira\u73b0\u5728\u4f1a\u4f7f\u7528ffmpeg\u81ea\u52a8\u8f6c\u4e3a\u89c6\u9891\n\n## Installation\n\n `git clone https://github.com/eternal-flame-AD/px_helper.git`\n\n `cd ./px_helper && pip install ./`\n\n## Usage\n
\nusage: pxdown [-h] [-u USERNAME] [-p PASSWORD] [-s SESS_ID] [--proxy PROXY]\n [-o OUTPUT] [--max-page PAGE] [--newer-than NEW] [--remux REMUX]\n [--remux-ext REMUX_EXT]\n url\n\nPixiv downloader\n\npositional arguments:\n url Pixiv URL, either bookmark, member_illust or illust\n\noptional arguments:\n -h, --help show this help message and exit\n -u USERNAME username\n -p PASSWORD password\n -s SESS_ID sessid\n --proxy PROXY specify a http proxy (format: http://127.0.0.1:8080)\n -o OUTPUT output folder\n --max-page PAGE specify max page number (only useful when downloading\n illust_member or search page) Example: --max-page 10\n --newer-than NEW Only download works newer than the specified date.\n Format:YYYY-MM-DD Example: --newer-than 2018-07-03\n --remux REMUX Whether to remux ugoira with ffmpeg(y/n). Default: y\n --remux-ext REMUX_EXT Output format of remuxed ugoira. Example: --remux-ext\n mp4\n\n1. Use with username and password (This may cause your SESSID in your browser to be revoked):\n\n **REMINDER: Make sure to backslash characters in password when necessary**\n\n `pxdown -u USERNAME -p PASSWORD url`\n\n2. Use with a valid PHPSESSID copied from your browser (31897178_xxxxxxxxxxxx):\n\n `pxdown -s SESS_ID url`\n\n3. To Use With a HTTP proxy, add the --proxy param:\n\n `pxdown -s SESS_ID --proxy http://127.0.0.1:8080 url`\n\n## Supported urls:\n - https://www.pixiv.net/bookmark.php (crawl all bookmarks)\n - https://www.pixiv.net/bookmark.php?p=x (start from this page)\n - https://www.pixiv.net/member_illust.php?mode=medium&illust_id=xxxxxx\n - https://www.pixiv.net/member_illust.php?mode=manga&illust_id=xxxxxx\n - https://www.pixiv.net/member_illust.php?id=xxxxxx (crawl all works)\n - https://www.pixiv.net/member_illust.php?id=xxxxxx&p=x (start from this page)\n - https://www.pixiv.net/search.php?word=xxx&order=xxx (iter over pages)\n - https://www.pixiv.net/search.php?word=xxx&order=xxx&p=x (start from this page)\n - https://www.pixiv.net/showcase/a/xxxx/\n\n## Custom filter:\n you can edit the filter function in imgfilter.py to customize which image to download:\n\n
# example img filter\n def filter(img):\n # only download manga work(multi pics)\n return img.info['work_type']==\"manga\"\n\n sample info data for https://www.pixiv.net/member_illust.php?mode=medium&illust_id=68686165:\n
\n{'work_type': 'manga', 'work_imgcount': 3, 'work_title': '\u8272\u304c\u30b1\u30f3\u30ab\u3057\u306a\u3044\u65b9\u6cd5', 'work_subtitle': '\u8272\u304c\u30b1\u30f3\u30ab\u3057\u306a\u3044\u65b9\u6cd5\u3092\u3054\u8cea\u554f\u3092\u3044\u305f\u3060\u3044\u305f\u306e\u3067\u3001\u81ea\u5df1\u6d41\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002', 'work_time': '2018-05-10T16:07:35+00:00', 'work_id': '68686165', 'work_resolution': '900x635', 'height': 635, 'width': 900, 'author_id': '811927', 'author_nick': '\u6751\u30ab\u30eb\u30ad', 'author_info': {'Nickname': '\u6751\u30ab\u30eb\u30ad', 'Website': 'http://mura73424033.jimdo.com/', 'Gender': 'Female', 'Location': 'Chiba, Japan ', 'Occupation': 'Seeking employment', 'Twitter': '\\n murakaruki\\n ', 'Self introduction': '\u25a0\u7d75\u306e\u304a\u4ed5\u4e8b\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u3054\u4f9d\u983c\u3001\u5fa1\u7528\u306e\u969b\u306fHP\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u304a\u6c17\u8efd\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002\uff08HP\uff09http://mura73424033.jimdo.com/\u25a0\u7d75\u3092\u63cf\u304f\u306e\u3068\u5bdd\u308b\u306e\u3068\u30b2\u30fc\u30e0\u304c\u597d\u304d\u3067\u3059\u3002\u5275\u4f5c\u3068\u304b\u4f01\u753b\u7269\uff08PF\uff09\u4e2d\u5fc3\u306b\u305d\u306e\u6642\u597d\u304d\u306a\u7248\u6a29\u4f5c\u54c1\u306a\u3069\u306e\u30a4\u30e9\u30b9\u30c8\u3092\u63cf\u3044\u3066\u307e\u3059\u3002\u597d\u304d\u306a\u3082\u306e\u3092\u597d\u304d\u306a\u3060\u3051\u63cf\u3044\u3066\u307e\u3059\u306e\u3067\u56fa\u5b9a\u30b8\u30e3\u30f3\u30eb\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u25a0\u30a4\u30e9\u30b9\u30c8\u306e\u8ee2\u8f09\u8a31\u53ef\u306b\u95a2\u3057\u307e\u3057\u3066\u81ea\u5206\u3067\u7ba1\u7406\u3067\u304d\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3001\u304a\u554f\u3044\u5408\u308f\u305b\u3044\u305f\u3060\u304d\u307e\u3057\u3066\u3082\u8a31\u53ef\u306f\u3067\u304d\u306a\u3044\u3067\u3059\u3002\u307e\u305f\u3001\u8ee2\u8f09\u306b\u95a2\u3057\u3066\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3082\u304a\u7b54\u3048\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u25a0\u30b3\u30e1\u30f3\u30c8\u3084\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3001\u8a55\u4fa1\u672c\u5f53\u306b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01\u3068\u3066\u3082\u52b1\u307f\u306b\u306a\u308a\u307e\u3059\u3002\u5168\u3066\u5927\u5207\u306b\u62dd\u898b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u3066\u304a\u308a\u307e\u3059\u3002\u30b3\u30e1\u30f3\u30c8\u306b\u95a2\u3057\u3066\u306f\u304a\u8fd4\u4e8b\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u591a\u304f\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u3002\u25a0\u7279\u306b\u4eca\u5f8c\u3082\u30de\u30a4\u30d4\u30af\u9650\u5b9a\u516c\u958b\u306b\u3059\u308b\u4e88\u5b9a\u306e\u7d75\u306a\u3069\u3082\u306a\u3044\u306e\u3067\u30de\u30a4\u30d4\u30af\u306f\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u3002\u57fa\u672c\u7684\u306b\u306f\u53cb\u4eba\u3001\u77e5\u4eba\u306e\u307f\u3068\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u3066\u304a\u308a\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\uff01\u25c7\u4ed5\u4e8b\u5c65\u6b74\u25c7\u3010\u66f8\u7c4d\u3011\u25c6\u300c\u30b7\u30e3\u30d0\u306e\u300e\u666e\u901a\u300f\u306f\u96e3\u3057\u3044\u300d\uff08\u30a8\u30f3\u30bf\u30fc\u30d6\u30ec\u30a4\u30f3\u69d8\uff09\u3010\u4e2d\u6751\u98af\u5e0c\u5148\u751f\u8457\u3011\u25c6\u300c\u9283\u9b54\u5927\u6226\uff0d\u6020\u8b00\u9023\u7406\uff0d\u300d\uff08\uff2b\uff21\uff24\uff2f\uff2b\uff21\uff37\uff21\u69d8\uff09\u3010\u30ab\u30eb\u30ed\u30fb\u30bc\u30f3\u5148\u751f\u8457\u3011\u25c6\u300c\u7121\u80fd\u3068\u547c\u3070\u308c\u305f\u4ffa\u3001\uff14\u3064\u306e\u529b\u3092\u5f97\u308b\uff11\uff5e\uff12\u300d\uff08\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7\u69d8\uff09\u3010\u677e\u6751\u9053\u5f66\u5148\u751f\u8457\u3011\u25c6\u300c\u30af\u30ed\u306e\u6226\u8a18\u300d\uff08\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7\u69d8\uff09\u3010\u30b5\u30a4\u30c8\u30a6\u30a2\u30e6\u30e0\u5148\u751f\u8457\u3011\u25c6\u300c\u7570\u4e16\u754c\u306b\u8ee2\u751f\u3057\u305f\u306e\u3067\u65e5\u672c\u5f0f\u57ce\u90ed\u3092\u3064\u304f\u3063\u3066\u307f\u305f\u3002\u300d\uff08\u4e00\u4e8c\u4e09\u66f8\u623f\u69d8\uff09\u3010\u30ea\u30e5\u30fc\u30af\u5148\u751f\u8457\u3011\u25c6\u300c\u5857\u308a\u4e8b\u5178BOYS\u300d\uff08NextCreator\u7de8\u96c6\u90e8\u69d8\uff09CLIPSTUDIOPRO\u30e1\u30a4\u30ad\u30f3\u30b0\u30a4\u30e9\u30b9\u30c8\uff0b\u89e3\u8aac\u25c6\u300c\u548c\u88c5\u30fb\u6d0b\u88c5\u306e\u63cf\u304d\u65b9\u300d\uff08\u671d\u65e5\u65b0\u805e\u51fa\u7248\u69d8\uff09\u6d0b\u88c5\u306e\u63cf\u304d\u65b9\u306e\u30a4\u30e9\u30b9\u30c8\u30ab\u30c3\u30c8\u3092\u4e00\u90e8\u62c5\u5f53\u3010TCG\u3011\u25c6\u300cLecee Overture Ver.Fate/Grannd Order 2.0\u300d\uff08TYPE-MOON\u69d8\uff09\uff13\u70b9\u25c6\u300c\u30e9\u30af\u30a8\u30f3\u30ed\u30b8\u30c3\u30af\u300d\uff08\u30d6\u30b7\u30ed\u30fc\u30c9\u69d8\uff09\uff13\u70b9\u3010\u30bd\u30fc\u30b7\u30e3\u30eb\u30b2\u30fc\u30e0\u3011\u25c6\u300cPSO2es\u300d\uff08\u682a\u5f0f\u4f1a\u793e\u30bb\u30ac\u69d8\uff09\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30a4\u30e9\u30b9\u30c87\u70b9\u25c6\u300c\u30a8\u30f3\u30c9\u30e9\u30a4\u30c9\u300d\uff08\u682a\u5f0f\u4f1a\u793e\u30b5\u30a4\u30d0\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u69d8\uff09\u30a4\u30e1\u30fc\u30b8\u30dc\u30fc\u30c9\uff12\u70b9\u3001\u80cc\u666f\uff16\u70b9\u25c6\u300cOZ Chrono Chronicle\u300d\uff08DMM GAMES\u69d8\uff09\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30a4\u30e9\u30b9\u30c8\uff12\u30bb\u30c3\u30c8\u25c6\u300c\u30b0\u30e9\u30f3\u30b9\u30d5\u30a3\u30a2\u300d\uff08\u30b7\u30ea\u30b3\u30f3\u30b9\u30bf\u30b8\u30aa\u69d8\uff09\u30ab\u30fc\u30c9\u30a4\u30e9\u30b9\u30c8\u591a\u6570\u25c6\u300c\uff32\uff45\uff56\uff4f\uff4c\uff56\uff45\u300d\uff08\u682a\u5f0f\u4f1a\u793eysy\u69d8\uff09\u30ab\u30fc\u30c9\u30a4\u30e9\u30b9\u30c82\u70b9\u3010\u305d\u306e\u4ed6\u3011\u25c6\u300cDrawimg with Wacom\u300d\uff08\u682a\u5f0f\u4f1a\u793e\u30ef\u30b3\u30e0\u69d8\uff09\u30a4\u30e9\u30b9\u30c8\u5236\u4f5c\u52d5\u753b\uff0b\u30a4\u30f3\u30bf\u30d3\u30e5\u30fc\u25c6\u300cBoCO\u682a\u5f0f\u4f1a\u793e2018\u5e74\u30ab\u30ec\u30f3\u30c0\u30fc\u300d\uff08BoCo\u682a\u5f0f\u4f1a\u793e\u69d8\uff09\u30ab\u30ec\u30f3\u30c0\u30fc\u30a4\u30e9\u30b9\u30c8\uff13\u3001\uff14\u6708\u62c5\u5f53'}, 'view-count': 15040, 'like-count': 1057, 'bookmark-count': 1527, 'bookmarked': True, 'cover_url': 'https://i.pximg.net/img-original/img/2018/05/11/01/07/35/68686165_p0.jpg', 'referer': 'https://www.pixiv.net/member_illust.php?mode=medium&illust_id=68686165&lang=en', 'tags': ['\u30e1\u30a4\u30ad\u30f3\u30b0'], 'manga_seq': 1, 'url': 'https://i.pximg.net/img-master/img/2018/05/11/01/07/35/68686165_p0_master1200.jpg'}\n\n\n You can also limit urls to crawl by modifying the filter_url function (see imgfilter.py for an example for limiting pages to crawl)\n\n## More about info output:\n - \"work_type\": \"manga\"/\"illust\"/\"ugoira\"\n - \"work_imgcount\": total count of images in this work\n - \"work_title\": title of this work\n - \"work_subtitle\": subtitle or comment of this work\n - \"work_resolution\": $\"{width}x{height}\"\n - \"work_time\": submission time of this work\n - \"manga_seq\": Only in manga work. The sequence number of this image in the work, 'cover' for the cover image.\n - \"bookmarked\": whether you have bookmarked this work\n - \"referer\": referer needed to download this image\n - \"url\": url of the image\n\n## Notice\nThis software uses FFmpeg licensed under the LGPLv2.1.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/eternal-flame-AD/px_helper",
"keywords": "pixiv",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "pxhelper",
"package_url": "https://pypi.org/project/pxhelper/",
"platform": "",
"project_url": "https://pypi.org/project/pxhelper/",
"project_urls": {
"Homepage": "https://github.com/eternal-flame-AD/px_helper",
"Source": "https://github.com/eternal-flame-AD/px_helper"
},
"release_url": "https://pypi.org/project/pxhelper/0.1.0/",
"requires_dist": [
"beautifulsoup4",
"html5lib",
"gevent"
],
"requires_python": ">=3.6",
"summary": "Pixiv downloader",
"version": "0.1.0"
},
"last_serial": 4025330,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "a32d15493da1ca871abf4914506d8b24",
"sha256": "d238de3056a5ea623097d5ac2734b8ba19e105a0fc4f0f8c68e4ddbda54411f1"
},
"downloads": -1,
"filename": "pxhelper-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a32d15493da1ca871abf4914506d8b24",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 21268446,
"upload_time": "2018-07-03T07:56:08",
"url": "https://files.pythonhosted.org/packages/8b/5a/1ccd67659e2fe430050f46a2ca836b8807aee89c660925807e31616ae99f/pxhelper-0.1.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "1ee4bf2f858a78260fb637c96c931750",
"sha256": "d45a0149446de80394a93cbcfe04e7a7f02e7246f0b55421c9303c6a2f4d31c6"
},
"downloads": -1,
"filename": "pxhelper-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1ee4bf2f858a78260fb637c96c931750",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15644,
"upload_time": "2018-07-03T07:56:12",
"url": "https://files.pythonhosted.org/packages/84/c4/ddbdc4e370b20c6ea50649f2285b6532f16ce178ec2310ac9df3a7c1a254/pxhelper-0.1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a32d15493da1ca871abf4914506d8b24",
"sha256": "d238de3056a5ea623097d5ac2734b8ba19e105a0fc4f0f8c68e4ddbda54411f1"
},
"downloads": -1,
"filename": "pxhelper-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a32d15493da1ca871abf4914506d8b24",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 21268446,
"upload_time": "2018-07-03T07:56:08",
"url": "https://files.pythonhosted.org/packages/8b/5a/1ccd67659e2fe430050f46a2ca836b8807aee89c660925807e31616ae99f/pxhelper-0.1.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "1ee4bf2f858a78260fb637c96c931750",
"sha256": "d45a0149446de80394a93cbcfe04e7a7f02e7246f0b55421c9303c6a2f4d31c6"
},
"downloads": -1,
"filename": "pxhelper-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1ee4bf2f858a78260fb637c96c931750",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15644,
"upload_time": "2018-07-03T07:56:12",
"url": "https://files.pythonhosted.org/packages/84/c4/ddbdc4e370b20c6ea50649f2285b6532f16ce178ec2310ac9df3a7c1a254/pxhelper-0.1.0.tar.gz"
}
]
}