This is my page content
soup-schema =========== Define schemas for parsing HTML with BeautifulSoup4_. .. _BeautifulSoup4: https://www.crummy.com/software/BeautifulSoup/ Installing ---------- .. code:: bash pip install soup_schema Example usage ------------- .. code:: python from soup_schema import Schema, Selector, AttrSelector class PageSchema(Schema): content = Selector('#content', required=True) description = Selector('[name=description]') stylesheets = AttrSelector('[rel=stylesheet]', 'href', as_list=True) title = Selector('title', required=True) html = """
This is my page content