#NEWLINE# @ staticmethod #NEWLINE# def is_competent_for_url( url ) : #NEWLINE# #INDENT# '\n        Return true for :\n            - https://www.facebook.com/video/video.php?v=1498994573921\n        ' #NEWLINE# match = re . match ( '^(http(s?)://)?(www\\.)?(facebook\\.com/(.*)\\?v=)(?P<id_video>\\d+).*$' , url ) #NEWLINE# if ( match is not None ) : #NEWLINE# #INDENT# return ( True , match . group ( 'id_video' ) ) #NEWLINE# #UNINDENT# return ( False , None )