{ "info": { "author": "Chuancong Gao", "author_email": "chuancong@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "[](https://pypi.python.org/pypi/html2json/)\n[](https://pypi.python.org/pypi/html2json/)\n[](https://pypi.python.org/pypi/html2json/)\n\nConvert a HTML webpage to JSON data using a template defined in JSON.\n\nInstallation\n----\n\nThis package is available on PyPi. Just use `pip install -U html2json` to install it. Then you can import it using `from html2json import collect`.\n\nAPI\n----\n\nThe method is `collect(html, template)`. `html` is the HTML of page loaded as string, and `template` is the JSON of template loaded as Python objects.\n\nNote that the HTML must contain the root node, like `...` or `