def getMatchedTextContentNodes(tree, outcome, container): 
    children = tree.getchildren()
    if children:
        for c in children:
            if outcome in c.text_content():
                container.append(c)
                getMatchedTextContentNodes(c, outcome, container)
    return container
dataset/ETHPy150Open kootenpv/sky/sky/legacy/scraper.py/getMatchedTextContentNodes/original