{ "info": { "author": "Daniel Perez Rada", "author_email": "dperezrada@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Topic :: Utilities" ], "description": ".. -*- mode: rst; coding: utf-8 -*-\n\nWelcome to HTML-Jumping\n=======================\n\n:Author: * Daniel Perez Rada <@dperezrada>\n\nWhat?\n=====\nAllows to get an HTML, coming from several previous URLs. Sometimes this is needed to get webpages that requires cookies or a HTTP referrer to get a certain page.\n\nPre-requisites\n==============\nYou will need:\n\n* httplib2\n* http://socksipy.sourceforge.net/ (if you want to use a proxy)\n\nTo run the test you will also need:\n\n* lxml\n\nExample\n=======\nNo proxy\n--------\n::\n\n from html_jumping import HtmlJumping\n handler = HtmlJumping()\n urls = [\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET'\n },\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET',\n 'body': {\n 'term': 'html_jumping',\n ':action': 'search',\n 'submit': 'search'\n }\n }\n ]\n received_header, received_content = handler.get(urls)\n\nWith proxy\n----------\nAllow you to use a HTTP proxy, you will need to install the socksipy library.\n::\n\n from html_jumping import HtmlJumping\n handler = HtmlJumping()\n urls = [\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET'\n },\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET',\n 'body': {\n 'term': 'html_jumping',\n ':action': 'search',\n 'submit': 'search'\n }\n }\n ]\n received_header, received_content = handler.get(\n urls,\n proxy_info = {'host': '127.0.0.1', 'port': '8081'}\n )\n\n\nWith permanent headers\n----------------------\nThis will sent in each call the headers 'Accept-Language'.\n::\n\n from html_jumping import HtmlJumping\n handler = HtmlJumping()\n urls = [\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET'\n },\n {\n 'url': 'http://pypi.python.org/pypi',\n 'method': 'GET',\n 'body': {\n 'term': 'html_jumping',\n ':action': 'search',\n 'submit': 'search'\n }\n }\n ]\n received_header, received_content = handler.get(\n urls,\n permanent_headers = {'Accept-Language': 'es, en-cl;q=0.5'}\n )\n\nTests\n=====\n\nRun\n---\n\n >> nosetests", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dperezrada/html-jumping", "keywords": "html_jumping cookies html get post form referrer", "license": "GNU Public License v3.0", "maintainer": null, "maintainer_email": null, "name": "html_jumping", "package_url": "https://pypi.org/project/html_jumping/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/html_jumping/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dperezrada/html-jumping" }, "release_url": "https://pypi.org/project/html_jumping/0.2.4/", "requires_dist": null, "requires_python": null, "summary": "Allows to get an HTML, coming from several previous URLs. Sometimes this is needed to get webpages that requires cookies or a HTTP referrer to get a certain page.", "version": "0.2.4" }, "last_serial": 793045, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a8ad5dbbd7e1ccc6e8bb03cd2a572c97", "sha256": "03c51b93a37578582a44947a5c277a30a182a4175fb74e4fe55c37f55f0819ef" }, "downloads": -1, "filename": "html_jumping-0.1.tar.gz", "has_sig": false, "md5_digest": "a8ad5dbbd7e1ccc6e8bb03cd2a572c97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2038, "upload_time": "2010-08-30T04:10:28", "url": "https://files.pythonhosted.org/packages/e4/b1/85c79d3d5033db313a1bbb794926a527abe576118467acb7add79e4348c0/html_jumping-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "bb563832f89f2956c2c316f597931e3e", "sha256": "751bf00109195dd28d10b0ce9be96c9e7c302e9418c4d0cd1221a6141f43eccd" }, "downloads": -1, "filename": "html_jumping-0.2.tar.gz", "has_sig": false, "md5_digest": "bb563832f89f2956c2c316f597931e3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3041, "upload_time": "2011-11-10T14:01:40", "url": "https://files.pythonhosted.org/packages/62/ae/7e2fab5612bf74ca563207c3d84cbd4fe5f740f70ce81b44123eda45440f/html_jumping-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2034b1005c3cacde4427bb10e870668a", "sha256": "b8c385df84811532562ff3fee1e6d3d23222109740401ecdb489f273ff16b8f2" }, "downloads": -1, "filename": "html_jumping-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2034b1005c3cacde4427bb10e870668a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3240, "upload_time": "2011-11-25T02:44:20", "url": "https://files.pythonhosted.org/packages/94/e7/a938b348036190b1bb61ffcf8fe2a38ab10be9388d3f4dc8949e1751fff0/html_jumping-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "96cceb58ba7f602d20f04a01a17bc73a", "sha256": "74a156efb0427f46b0e6b4e42fe5cc0d3c3a8ae05d4fd92b15192f0fd30b82ea" }, "downloads": -1, "filename": "html_jumping-0.2.2.tar.gz", "has_sig": false, "md5_digest": "96cceb58ba7f602d20f04a01a17bc73a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2012-02-13T03:47:10", "url": "https://files.pythonhosted.org/packages/d4/4d/029ad624425a3c5c7a1715eda489399d8c37509b2e0c6fee5f050c6bdfd4/html_jumping-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "8fe1532ffb66579e90d42c4492e33b5a", "sha256": "06e1ba4dc4308b2d394d0373ec4da5970e0bce845bd6de8d4d0664ae8176ef31" }, "downloads": -1, "filename": "html_jumping-0.2.3.tar.gz", "has_sig": false, "md5_digest": "8fe1532ffb66579e90d42c4492e33b5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3732, "upload_time": "2012-08-20T16:37:58", "url": "https://files.pythonhosted.org/packages/c6/91/ee3b344ac2b1655cc7e7c1c4b0fcf437a9868743b61fda8426199e9274b0/html_jumping-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "e1b850e7a3e0c175c01ea53305bddf1d", "sha256": "8491722577a206530b09b80ea741e64fe3d96df8ac2e9c3683eb00f43a2ba5cf" }, "downloads": -1, "filename": "html_jumping-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e1b850e7a3e0c175c01ea53305bddf1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2012-08-25T12:55:01", "url": "https://files.pythonhosted.org/packages/14/36/96a45ddfca6766c29d18860072d0eb1f6b96c12eea6467e07008bda90857/html_jumping-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1b850e7a3e0c175c01ea53305bddf1d", "sha256": "8491722577a206530b09b80ea741e64fe3d96df8ac2e9c3683eb00f43a2ba5cf" }, "downloads": -1, "filename": "html_jumping-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e1b850e7a3e0c175c01ea53305bddf1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2012-08-25T12:55:01", "url": "https://files.pythonhosted.org/packages/14/36/96a45ddfca6766c29d18860072d0eb1f6b96c12eea6467e07008bda90857/html_jumping-0.2.4.tar.gz" } ] }