google-parser Class for getting snippets from google.com html from google_parser import GoogleParser snippets = GoogleParser("<html><body>...</body></html>").get_snippets() Testing python -m unittest google_parser.tests.test_google Installation pip install google-parser