def ctx_for_video(self, vurl):
        "Get a context dict for a given video URL"
        ctx = self.get_context_dict()
        for portal, match, context_fn in self.PORTALS:
            if match.search(vurl):
                try:
                    ctx.update(context_fn(vurl))
                    ctx['portal'] = portal
                    break
                except __HOLE__:
                    continue
        return ctx
dataset/ETHPy150Open feincms/feincms/feincms/content/video/models.py/VideoContent.ctx_for_video