@staticmethod
def _extract_urls(webpage):
    urls = []
    for mobj in re.finditer('<iframe[^>]+?src=(["\\\'])(?P<url>https?://www\\.facebook\\.com/(?:video/embed|plugins/video\\.php).+?)\\1', webpage):
        urls.append(mobj.group('url'))
    for mobj in re.finditer('(?x)<div[^>]+\n                class=(?P<q1>[\\\'"])[^\\\'"]*\\bfb-(?:video|post)\\b[^\\\'"]*(?P=q1)[^>]+\n                data-href=(?P<q2>[\\\'"])(?P<url>(?:https?:)?//(?:www\\.)?facebook.com/.+?)(?P=q2)', webpage):
        urls.append(mobj.group('url'))
    return urls
@staticmethod
def _extract_urls(webpage):
    urls = []
    for mobj in re.finditer('<iframe[^>]+?src=(["\\\'])(?P<url>https?://www\\.facebook\\.com/(?:video/embed|plugins/video\\.php).+?)\\1', webpage):
        urls.append(mobj.group('url'))
    for mobj in re.finditer('(?x)<div[^>]+\n                class=(?P<q1>[\\\'"])[^\\\'"]*\\bfb-(?:video|post)\\b[^\\\'"]*(?P=q1)[^>]+\n                data-href=(?P<q2>[\\\'"])(?P<url>(?:https?:)?//(?:www\\.)?facebook.com/.+?)(?P=q2)', webpage):
        urls.append(mobj.group('url'))
    return urls