def METHOD_NAME(quteproc):
    """Parse the dirbrowser content from the given quteproc.
    Args:
        quteproc: The quteproc fixture.
    """
    html = quteproc.get_content(plain=False)
    soup = bs4.BeautifulSoup(html, 'html.parser')
    with testutils.ignore_bs4_warning():
        print(soup.prettify())
    title_prefix = 'Browse directory: '
    # Strip off the title prefix to obtain the path of the folder that
    # we're browsing
    path = pathlib.Path(soup.title.string[len(title_prefix):])
    container = soup('div', id='dirbrowserContainer')[0]
    parent_elem = container('ul', class_='parent')
    if not parent_elem:
        parent = None
    else:
        parent = pathlib.Path(QUrl(parent_elem[0].li.a['href']).toLocalFile())
    folders = []
    files = []
    for css_class, list_ in [('folders', folders), ('files', files)]:
        for li in container('ul', class_=css_class)[0]('li'):
            item_path = pathlib.Path(QUrl(li.a['href']).toLocalFile())
            list_.append(Item(path=item_path, link=li.a['href'],
                              text=str(li.a.string)))
    return Parsed(path=path, parent=parent, folders=folders, files=files)