{ "info": { "author": "yubang", "author_email": "yubang93@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# splashclient\n*\u7b80\u5355\u7684splash\u5ba2\u6237\u7aef*\n\n### \u5b89\u88c5\n\n```\npip install splashclient\n```\n\n### \u5feb\u901f\u5165\u95e8\n\n* \u521d\u59cb\u5316\u5ba2\u6237\u7aef\uff0c\u914d\u7f6e\u4ee3\u7406\u53ef\u4ee5\u4f20\u9012{\"protocol\": \"http\", \"ip\": \"IP\u5730\u5740\", \"port\": \u7aef\u53e3}\u5230\u53c2\u6570default_proxy\n\n```\nsplash_url = \"\u4f60\u7684splash\u670d\u52a1\u7aef\u5730\u5740\uff0c\u4f8b\u5982\uff1ahttp://IP:8050\"\nclient = SplashClient(splash_url, default_proxy=None, default_wait=0.1, default_time=30, default_header={\n \"User-Agent\": \"abc\"\n})\n```\n\n* \u83b7\u53d6\u4e00\u4e2a\u6e32\u67d3\u540e\u7684\u7f51\u9875html\n\n```\nhtml = client.render(\"http://blog.yubangweb.com\")\nprint(html)\n```\n\n* \u83b7\u53d6\u9875\u9762\u622a\u56fe\n```\nclient.png(\"http://blog.yubangweb.com\")\nwith open(\"1.png\", \"wb\") as fp:\n fp.write(data)\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yubang/splashclient", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "splashclient", "package_url": "https://pypi.org/project/splashclient/", "platform": "", "project_url": "https://pypi.org/project/splashclient/", "project_urls": { "Homepage": "https://github.com/yubang/splashclient" }, "release_url": "https://pypi.org/project/splashclient/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "splash\u7b80\u5355\u5ba2\u6237\u7aef", "version": "0.0.1" }, "last_serial": 4465856, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "623a42e032437eae671fb92d51bd7658", "sha256": "f74f17ab02215214742ef3080aab5b9632194f3e24b76af342d15a3732d262e2" }, "downloads": -1, "filename": "splashclient-0.0.1-py3.6.egg", "has_sig": false, "md5_digest": "623a42e032437eae671fb92d51bd7658", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 6208, "upload_time": "2018-11-08T14:41:00", "url": "https://files.pythonhosted.org/packages/e7/70/baca7db43cff5187f1c0a1d75de156bb46369a0ca1f72174f0a88a3e6231/splashclient-0.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "feb3d4abe38a6a0984df1ee3e6ca6333", "sha256": "3f52e3ffacd62456f8a98ef7656ec47e09dd0ab9e87918c1e814f4a0d9d2a30d" }, "downloads": -1, "filename": "splashclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "feb3d4abe38a6a0984df1ee3e6ca6333", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2018-11-08T14:41:02", "url": "https://files.pythonhosted.org/packages/47/4e/b7f53c51f43f1d57843c19e78b81e4d5de6c8dd49622742a3ad91102b17c/splashclient-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "623a42e032437eae671fb92d51bd7658", "sha256": "f74f17ab02215214742ef3080aab5b9632194f3e24b76af342d15a3732d262e2" }, "downloads": -1, "filename": "splashclient-0.0.1-py3.6.egg", "has_sig": false, "md5_digest": "623a42e032437eae671fb92d51bd7658", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 6208, "upload_time": "2018-11-08T14:41:00", "url": "https://files.pythonhosted.org/packages/e7/70/baca7db43cff5187f1c0a1d75de156bb46369a0ca1f72174f0a88a3e6231/splashclient-0.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "feb3d4abe38a6a0984df1ee3e6ca6333", "sha256": "3f52e3ffacd62456f8a98ef7656ec47e09dd0ab9e87918c1e814f4a0d9d2a30d" }, "downloads": -1, "filename": "splashclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "feb3d4abe38a6a0984df1ee3e6ca6333", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2018-11-08T14:41:02", "url": "https://files.pythonhosted.org/packages/47/4e/b7f53c51f43f1d57843c19e78b81e4d5de6c8dd49622742a3ad91102b17c/splashclient-0.0.1.tar.gz" } ] }