[facebook] Allow '?' before '#!' (fixes #3477)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-08-10 11:55:24 +02:00
parent 173a7026d5
commit a6da7b6b96
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,7 @@ from ..utils import (
class FacebookIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://(?:\w+\.)?facebook\.com/
(?:[^#?]*\#!/)?
(?:[^#]*?\#!/)?
(?:video/video\.php|photo\.php|video/embed)\?(?:.*?)
(?:v|video_id)=(?P<id>[0-9]+)
(?:.*)'''