{ "info": { "author": "Sylas Aldridge", "author_email": "sylas@illsea.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "Selenium Requests HTML\n=================\nExtends Selenium WebDriver classes to include the [HTMLSession](http://html.python-requests.org/) from the [Requests-HTML](http://html.python-requests.org/) library, while doing all the needed cookie and request headers handling.\n\nThis hasn't really been tested and is not likely to get a whole lot of work done on it. My initial tests seemed to work for my use case. Most functionality worked with another webdriver, but the render function in Requests-HTML has a dependency that uses chromedriver and I have not yet looked into a way around it.\n\nMost of the work already seemed to have been done, thanks to the organization and work already done in [Selenium Requests](https://github.com/cryzed/Selenium-Requests) and [Requests-HTML](http://html.python-requests.org/), as well as the original [Requests](http://python-requests.org/) library.\n\nUsage\n-----\n```python\n# Import any WebDriver class that you would usually import from\n# selenium.webdriver from the seleniumrequestshtml module\nfrom seleniumrequestshtml import Chrome\nfrom selenium.webdriver.chrome.options import Options\n\n# Set up the options for your webdriver\nurl = 'https://illsea.com'\noptions = Options()\noptions.add_argument(\"--headless\")\nwebdriver = Chrome(chrome_options=options)\n\n# webdriver.requests_session replaces regular HTMLSession() usage from requests-html\nsession = webdriver.requests_session\n# then just do requests-HTML things\nresponse = session.get(url)\nimages = response.html.find('img')\n\nprint(images)\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/illsea/Selenium-Requests-HTML", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "selenium-requests-html", "package_url": "https://pypi.org/project/selenium-requests-html/", "platform": "", "project_url": "https://pypi.org/project/selenium-requests-html/", "project_urls": { "Homepage": "https://github.com/illsea/Selenium-Requests-HTML" }, "release_url": "https://pypi.org/project/selenium-requests-html/1.0/", "requires_dist": [ "requests", "selenium", "six", "tldextract" ], "requires_python": ">=3.6", "summary": "Fork of selenium-requests that extends Selenium WebDriver classes to include the functionality from the Requests-HTML library, while doing all the needed cookie and request headers handling. Credit for most of what makes this work goes toto Chris Braun and his original work done on Selenium-Requestshttps://github.com/cryzed/Selenium-Requests", "version": "1.0" }, "last_serial": 3634072, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "64246d0bd277b0b44934f213b142913d", "sha256": "4b3e5a5a077e3d3407d713a2014d6f4c81f89e3e44a37fbeb847194771324993" }, "downloads": -1, "filename": "selenium_requests_html-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "64246d0bd277b0b44934f213b142913d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7870, "upload_time": "2018-03-03T06:07:22", "url": "https://files.pythonhosted.org/packages/e7/f7/0b5e880d36048fdbfbfdb948704280365c85aeb0fec78322c34d7b1b37d8/selenium_requests_html-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b3436574b3fc4aa20bd5e56cd885785", "sha256": "341c4502a7898e9672f16e1d2f2fe29e3ed82585be86ebf98a81e1694682797c" }, "downloads": -1, "filename": "selenium-requests-html-1.0.tar.gz", "has_sig": false, "md5_digest": "7b3436574b3fc4aa20bd5e56cd885785", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8373, "upload_time": "2018-03-03T06:07:24", "url": "https://files.pythonhosted.org/packages/54/bd/e17a2ab7429c81f970145e6b7e2d301d28d711bad2192b6acfba1571e56a/selenium-requests-html-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64246d0bd277b0b44934f213b142913d", "sha256": "4b3e5a5a077e3d3407d713a2014d6f4c81f89e3e44a37fbeb847194771324993" }, "downloads": -1, "filename": "selenium_requests_html-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "64246d0bd277b0b44934f213b142913d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7870, "upload_time": "2018-03-03T06:07:22", "url": "https://files.pythonhosted.org/packages/e7/f7/0b5e880d36048fdbfbfdb948704280365c85aeb0fec78322c34d7b1b37d8/selenium_requests_html-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b3436574b3fc4aa20bd5e56cd885785", "sha256": "341c4502a7898e9672f16e1d2f2fe29e3ed82585be86ebf98a81e1694682797c" }, "downloads": -1, "filename": "selenium-requests-html-1.0.tar.gz", "has_sig": false, "md5_digest": "7b3436574b3fc4aa20bd5e56cd885785", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8373, "upload_time": "2018-03-03T06:07:24", "url": "https://files.pythonhosted.org/packages/54/bd/e17a2ab7429c81f970145e6b7e2d301d28d711bad2192b6acfba1571e56a/selenium-requests-html-1.0.tar.gz" } ] }