{ "info": { "author": "gugutianle", "author_email": "gugutianle@ggo.la", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "\u5c0f\u8bf4\u91c7\u96c6\u5668\n~~~~~~~~~~\n\npython \u73af\u5883\n^^^^^^^^^^^\n\n- python 2.7\n- mysql 5.7.9\n\n\u9879\u76ee\u5b89\u88c5\n^^^^^^^^\n\n.. code:: bash\n\n pip install novelSpider\n\nMySQL \u914d\u7f6e\n^^^^^^^^^^\n\n::\n\n # \u52a0\u5165 mysqld.cnf\n # * Encode\n init_connect='SET collation_connection = utf8_unicode_ci'\n init_connect='SET NAMES utf8'\n character-set-server=utf8\n collation-server=utf8_unicode_ci\n skip-character-set-client-handshake\n\n\u9879\u76ee\u8fd0\u884c\n^^^^^^^^\n\n.. code:: python\n\n from novelSpider.task import Task\n\n class Config(object):\n '''\n @desc\uff1a\u6570\u636e\u5e93\u914d\u7f6e\n @param\uff1ausername \u6570\u636e\u5e93\u7528\u6237\u540d\n @param\uff1apassword \u6570\u636e\u5e93\u5bc6\u7801\n '''\n def __init__(self):\n self.username = 'root'\n self.password = 'root'\n self.database = 'novel'\n\n # \u521b\u5efa\u4efb\u52a1\u5b9e\u4f8b\n task = Task()\n\n # \u521b\u5efa\u722c\u866b\u5b9e\u4f8b\n spider = task.createDownloader(Config)\n\n # \u4e0b\u8f7d\u5c0f\u8bf4\u4e66\u76ee\u4fe1\u606f\u3001\u7ae0\u8282\u5217\u8868\n spider.getCharptList(novelNum=1)\n\n # \u4e0b\u8f7d\u5c0f\u8bf4\u4e66\u76ee\u4fe1\u606f\u3001\u7ae0\u8282\u5217\u8868\n spider.getCharptContent(novelId=0, charptNum=1)\n\n\u7248\u672c\u65e5\u5fd7\n^^^^^^^^\n\n0.0.13 \u7248\u672c\n'''''''''''\n\n.. code:: bash\n\n # \u652f\u6301\u4e0b\u8f7d\u5c0f\u8bf4\u4e66\u76ee\u4fe1\u606f\u3001\u7ae0\u8282\u5217\u8868\u3001\u7ae0\u8282\u5185\u5bb9\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/gugutianle/novelSpider", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "novelSpider", "package_url": "https://pypi.org/project/novelSpider/", "platform": "any", "project_url": "https://pypi.org/project/novelSpider/", "project_urls": { "Homepage": "https://github.com/gugutianle/novelSpider" }, "release_url": "https://pypi.org/project/novelSpider/0.0.13/", "requires_dist": [ "Cython (>=0.29.7)", "SQLAlchemy (==1.3.1)", "beautifulsoup4 (==4.6.3)", "lxml (==4.3.0)", "mysqlclient (==1.3.7)", "requests (==2.20.1)" ], "requires_python": "", "summary": "\u91c7\u96c6\u4e2d\u6587\u5c0f\u8bf4\u7f51\u7ad9\u7684\u722c\u866b", "version": "0.0.13" }, "last_serial": 5563621, "releases": { "0.0.13": [ { "comment_text": "", "digests": { "md5": "23db2b06d0d5c07e83ebeecb63e9f0fc", "sha256": "f4fc76ad52984c8b80940d7815583ce42e748abec420afdc3d83cf125fbce854" }, "downloads": -1, "filename": "novelSpider-0.0.13-py2-none-any.whl", "has_sig": false, "md5_digest": "23db2b06d0d5c07e83ebeecb63e9f0fc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8218, "upload_time": "2019-07-21T14:31:49", "url": "https://files.pythonhosted.org/packages/13/34/191f5361baba89f011e2cedc41a27c189834d4d96f3f358bc4d5f2ecdb25/novelSpider-0.0.13-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b14c11dbca6fa23a77a134ec3757888f", "sha256": "e7d74f4e35b79a1573eeb1680ab747ea33a45d953c9344d991593c7a932c3451" }, "downloads": -1, "filename": "novelSpider-0.0.13.tar.gz", "has_sig": false, "md5_digest": "b14c11dbca6fa23a77a134ec3757888f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4689, "upload_time": "2019-07-21T14:31:51", "url": "https://files.pythonhosted.org/packages/87/63/ac2914d0947a837f731ae0cd16c255d3e9882147773aedb6bf82da1bb51d/novelSpider-0.0.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23db2b06d0d5c07e83ebeecb63e9f0fc", "sha256": "f4fc76ad52984c8b80940d7815583ce42e748abec420afdc3d83cf125fbce854" }, "downloads": -1, "filename": "novelSpider-0.0.13-py2-none-any.whl", "has_sig": false, "md5_digest": "23db2b06d0d5c07e83ebeecb63e9f0fc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8218, "upload_time": "2019-07-21T14:31:49", "url": "https://files.pythonhosted.org/packages/13/34/191f5361baba89f011e2cedc41a27c189834d4d96f3f358bc4d5f2ecdb25/novelSpider-0.0.13-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b14c11dbca6fa23a77a134ec3757888f", "sha256": "e7d74f4e35b79a1573eeb1680ab747ea33a45d953c9344d991593c7a932c3451" }, "downloads": -1, "filename": "novelSpider-0.0.13.tar.gz", "has_sig": false, "md5_digest": "b14c11dbca6fa23a77a134ec3757888f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4689, "upload_time": "2019-07-21T14:31:51", "url": "https://files.pythonhosted.org/packages/87/63/ac2914d0947a837f731ae0cd16c255d3e9882147773aedb6bf82da1bb51d/novelSpider-0.0.13.tar.gz" } ] }