@staticmethod
    def is_competent_for_url(url):
        match = re.match('^(http(s?)://)?(www\.)?(facebook\.com/(.*)\?v=)(?P<id_video>\d+).*$', url)

        if match is not None:
            return True, match.group('id_video')
        return False, None
Return true for :
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/plugin_app/plugin_video/viewers/facebook.py/FacebookViewer.is_competent_for_url