

def get_embed_tag(self, node):
    parent = self.parser.getParent(node)
    if (parent is not None):
        parent_tag = self.parser.getTag(parent)
        if (node == 'object'):
            return self.get_object_tag(node)
    return self.get_video(node)

dataset/ETHPy150Open codelucas/newspaper/newspaper/videos/extractors.py VideoExtractor.get_embed_tag/VarMisuse@46/54 `parent_tag`->`node`