{ "info": { "author": "Peter Hillerstr\u00f6m", "author_email": "peter.hillerstrom@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Utilities" ], "description": "Slurp the beautiful soup\n===============\n\nBeautifulSoup4 packaged into a command line tool.\n\n\nInstallation\n---------\n\nFrom the Python package index (Pypi_):\n\n (sudo) pip install beautifulsoup4-slurp\n\nor from Github_:\n\n git clone https://github.com/peterhil/slurp.git\n cd slurp\n (sudo) python setyp.py install\n\n\nUsage\n-----\n\nShow help:\n\n slurp -h\n\nParse with html5lib and pretty print into stdout:\n\n slurp -i bookmarks.html -p 'html5lib' -y\n\nParse with lxml and pretty print into stdout:\n\n slurp -i bookmarks.html -p 'lxml' -y\n\nWrite pretty-printed to output to file:\n\n slurp -y -i bookmarks.html -o bookmarks_soup.html\n\nPipe into slurp:\n\n echo '
Github' | slurp -y\n\n\n.. _Github: https://github.com/peterhil/slurp/\n.. _Pypi: http://pypi.python.org/pypi/beautifulsoup4-slurp\n\n\nLicense\n------\n\nCopyright (c) 2015, Peter Hillerstr\u00f6m