{ "info": { "author": "Masaki Taniguchi", "author_email": "window100@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: Japanese", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": ".. image:: https://travis-ci.org/mo-san/niconico-tools.svg?branch=master\n :target: https://travis-ci.org/mo-san/niconico-tools\n.. image:: https://coveralls.io/repos/github/mo-san/niconico-tools/badge.svg?branch=master\n :target: https://coveralls.io/github/mo-san/niconico-tools?branch=master\n.. image:: https://badge.fury.io/py/nicotools.svg\n :target: https://badge.fury.io/py/nicotools\n\n========\nFeatures\n========\n\nThis is a command-line tool and python utility module to download videos, comments and thumbnail images on niconico (nicovideo.jp).\nAnd also with this you can handle your Mylists: add, delete, move and copy each items and create or remove new lists.\n\n* Thumbnails: larger and smaller ones.\n* Comments: in XML and JSON format.\n* Videos: in both types, i.e. of \"smile\" server (older one) and of \"dmc.nico\" server (newer one).\n* Concurrent download (4x faster by default).\n\n============\nInstallation\n============\n\n``pip install nicotools``\n\n************\nRequirements\n************\n\n* Python >= 3.6\n\n=====\nUsage\n=====\n\nBy running without any arguments, we will show you a help.\n\n*******************\nUsage as a CLI tool\n*******************\n\nFor the first time you will asked your mail address and password.\nFrom the next time on HTTP Cookie will be saved in to your HOME directory, so mail and pass are not needed.\nOr you may specify your credentials every time you run this, as this:\n\n ``nicotools download -v sm9 --mail --pass ``\n\nDownloading\n***********\n\n* To download thumbnails of video ids of sm1, ... sm5:\n\n ``nicotools downlaod --thumbnail --dest \"./Downloads\" sm1 sm2 sm3 sm4 sm5``\n\n* To downalod thumbnails, comments and videos of those:\n\n ``nicotools download --comment --video --thumbnail --dest \"./Downloads\" sm1 sm2 sm3 sm4 sm5``\n\n* Shorthand commands and how to specify video ids from text file (prepend plus sign):\n\n ``nicotools download -cvt -d \"./Downloads\" +ids.txt``\n\n* XML comment (\"--dest\" is for destination directory):\n\n ``nicotools download -cvt --xml -dest \"./Downloads\" sm1``\n\n* to list up whole contents in all LISTS (TAB separated format):\n\n ``nicotools mylist * --show --everything --out D:/Downloads/all.txt``\n\nDealing with Mylists\n********************\n\n* to apped videos on MYLIST:\n\n ``nicotools mylist MYLIST --add sm1 sm2 sm3``\n\n* another way to append: from a text file, in which video id in each lines are written:\n\n ``nicotools mylist MYLIST --add +C:/Users/Me/Desktop/ids.txt``\n\n* specify the MYLIST by its ID (this is shown in the LIST's URL):\n\n ``nicotools mylist 12345678 --id --add sm1 sm2 sm3``\n\n* to dleete items from MYLIST:\n\n ``nicotools mylist MYLIST --delete sm1 sm2 sm3``\n\n* to clear the MYLIST:\n\n ``nicotools mylist MYLIST --delete *``\n\n* to clear the MYLIST without confirmation:\n\n ``nicotools mylist MYLIST --delete * --yes``\n\n* to move some items in MYLIST to --to:\n\n ``nicotools mylist MYLIST --to foofoo --move sm1 sm2 sm3``\n\n* to copy entire items in MYLIST to --to:\n\n ``nicotools mylist MYLIST --to barbar --move *``\n\n* to copy some items in MYLIST to --to:\n\n ``nicotools mylist MYLIST --to baaboo --copy sm1 sm2 sm3``\n\n* to copy entire items in MYLIST to --to:\n\n ``nicotools mylist MYLIST --to foobar --copy *``\n\n* to list up all LIST's names:\n\n ``nicotools mylist * --show``\n\n* to list up whole contents in all LISTS (TAB separated format):\n\n ``nicotools mylist * --show --everything --out D:/Downloads/all.txt``\n\n* to list up whole contents in all LISTS (TABLE format):\n\n ``nicotools mylist * --show --show --everything --out D:/Downloads/all.txt``\n\n* to list up items in a single LIST:\n\n ``nicotools mylist MYLIST --export``\n\n* to list up video ids of whole contents in all LISTS:\n\n ``nicotools mylist * --export --everything --out D:/Downloads/all.txt``\n\n* to list up the metadata of LISTS:\n\n ``nicotools mylist * --export --out D:/Downloads/all.txt``\n\n* to create new LIST with name of LISTNAME:\n\n ``nicotools mylist LISTNAME --create``\n\n* to remove the LIST:\n\n ``nicotools mylist MYLIST --purge``\n\n* to remove the LIST without cconfirmation:\n\n ``nicotools mylist MYLIST --purge --yes``\n\n*****************\nUsage as a module\n*****************\n::\n\n from nicotools.download import VideoDmc, VideoSmile, Comment, Thumbnail\n\n mail = \"\"\n password = \"\"\n xml = True # Set to True if you want in XML format, default is JSON\n\n # a list of video ids\n video_ids = [\"sm1\", \"sm2\", \"sm3\"]\n # directory path to save files in\n DIR_PATH = \"./downloads/\"\n\n Thumbnail().start(video_ids, DIR_PATH)\n\n Comment(mail, password).start(video_ids, DIR_PATH, xml)\n\n VideoSmile(mail, password).start(video_ids, DIR_PATH)\n\n VideoDmc(mail, password).start(video_ids, DIR_PATH)\n\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/mo-san/niconico-tools", "keywords": "niconico,nicovideo,\u30cb\u30b3\u30cb\u30b3\u52d5\u753b", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "nicotools", "package_url": "https://pypi.org/project/nicotools/", "platform": "", "project_url": "https://pypi.org/project/nicotools/", "project_urls": { "Homepage": "https://github.com/mo-san/niconico-tools" }, "release_url": "https://pypi.org/project/nicotools/1.0.4/", "requires_dist": [ "requests", "prettytable", "bs4", "aiohttp", "tqdm", "multidict" ], "requires_python": "", "summary": "Downloading videos, comments and thumbnails and handling your Mylists on niconico (\u30cb\u30b3\u30cb\u30b3\u52d5\u753b).", "version": "1.0.4" }, "last_serial": 4283919, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d3edd7608cba5477d339c243f07a965a", "sha256": "4670a149a607b28f997838068d8192dd1c99c0d4e963afbbb850aba3e788d5f5" }, "downloads": -1, "filename": "nicotools-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d3edd7608cba5477d339c243f07a965a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53042, "upload_time": "2016-12-26T17:05:25", "url": "https://files.pythonhosted.org/packages/a1/f7/2088531c2b30e45301d7301d67c16d6816a93c71329bf72c24c2b00a580c/nicotools-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "f62f586bd6f53b39f03418699ed63bb4", "sha256": "9cf982132d2047c0c623935be5fb8f759022a434db518334a1970600f88a8cae" }, "downloads": -1, "filename": "nicotools-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f62f586bd6f53b39f03418699ed63bb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52871, "upload_time": "2016-12-27T10:20:57", "url": "https://files.pythonhosted.org/packages/3a/00/f056c80e4a43061e1ebef061584800eb789a2ffc31e403279dc8ec280f15/nicotools-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f6d24d74cbcdafd043d4430551258c35", "sha256": "0dde8d705f9ece84fc3a9a29b80c13223995a9e339907414ac2474b48792d883" }, "downloads": -1, "filename": "nicotools-1.0.2-py3.7.egg", "has_sig": false, "md5_digest": "f6d24d74cbcdafd043d4430551258c35", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 130918, "upload_time": "2018-09-16T16:04:24", "url": "https://files.pythonhosted.org/packages/cb/e0/38307219038b390cf6900e5fa7887d96ddb402141cc0865900e0124aff2e/nicotools-1.0.2-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "03c45516236f17ac5a2ff69af5e091e3", "sha256": "d4e2c6e334d681fd79836cb41d3fb6993f294115fed4d34870357c47b06dda23" }, "downloads": -1, "filename": "nicotools-1.0.2.tar.gz", "has_sig": false, "md5_digest": "03c45516236f17ac5a2ff69af5e091e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52856, "upload_time": "2016-12-28T02:14:00", "url": "https://files.pythonhosted.org/packages/f6/68/8927d77bd7e74ba65020df08cfe7f3968238f04bbf26ddbebf917201f022/nicotools-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "db2e25a6a22ea691b350dfc3127f2be4", "sha256": "ad056c6aca4aa00165050e7d943a952ca096178aa359b4a3871e62fd0285b488" }, "downloads": -1, "filename": "nicotools-1.0.3-py3.7.egg", "has_sig": false, "md5_digest": "db2e25a6a22ea691b350dfc3127f2be4", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 89066, "upload_time": "2018-09-16T16:04:25", "url": "https://files.pythonhosted.org/packages/7e/29/e02db2c8c3dc7ba5e92a31f845461d44cfe275236f24d6358cd7a6551590/nicotools-1.0.3-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "bf43bba712d41777f70142ef274d0dc5", "sha256": "97d6aea4fb5e147c34b30b254ff4bd59b9e551ad6109013cf86094c01b4a524f" }, "downloads": -1, "filename": "nicotools-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bf43bba712d41777f70142ef274d0dc5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 38761, "upload_time": "2018-09-16T16:04:21", "url": "https://files.pythonhosted.org/packages/04/b3/ae50fcf12c497696b41a198de5611ada387ef0bf2a643c5ad072fdc172e4/nicotools-1.0.3-py3-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "dda55fa07e3695af8100988c64dde28c", "sha256": "441ea01e6ed450ce8e6b8d5c95a4abc3b52a8d28b7f782b76a5a4ba812d024fb" }, "downloads": -1, "filename": "nicotools-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dda55fa07e3695af8100988c64dde28c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 39192, "upload_time": "2018-09-18T15:03:11", "url": "https://files.pythonhosted.org/packages/37/3e/2648db73da72c135b54d6fbcce3d07e4bf59d47d2acccfec0cbf744a461c/nicotools-1.0.4-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dda55fa07e3695af8100988c64dde28c", "sha256": "441ea01e6ed450ce8e6b8d5c95a4abc3b52a8d28b7f782b76a5a4ba812d024fb" }, "downloads": -1, "filename": "nicotools-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dda55fa07e3695af8100988c64dde28c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 39192, "upload_time": "2018-09-18T15:03:11", "url": "https://files.pythonhosted.org/packages/37/3e/2648db73da72c135b54d6fbcce3d07e4bf59d47d2acccfec0cbf744a461c/nicotools-1.0.4-py3-none-any.whl" } ] }