

def get_video(self, node):
    'Create a video object from a video embed\n        '
    video = Video()
    video.embed_code = self.get_embed_code(node)
    self.embed_type = self.get_embed_type(node)
    video.width = self.get_width(node)
    video.height = self.get_height(node)
    video.src = self.get_src(node)
    video.provider = self.get_provider(video.src)
    return video

dataset/ETHPy150Open codelucas/newspaper/newspaper/videos/extractors.py VideoExtractor.get_video/VarMisuse@31/55 `video`->`self`