aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-24 04:36:49 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-24 04:36:49 +0700
commitb4a131e1a5c345b17df37a9b0c76e612855e5402 (patch)
treeb0f14bbdf0b1f58c9736f60051515b71fbcb270e /youtube_dl
parentf1991ce928d2a670b37ce4ac0e088459d9e28202 (diff)
[facebook] Relax _VALID_URL (Closes #10151)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/facebook.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py
index cdb093262..0fb781a73 100644
--- a/youtube_dl/extractor/facebook.py
+++ b/youtube_dl/extractor/facebook.py
@@ -27,7 +27,7 @@ class FacebookIE(InfoExtractor):
_VALID_URL = r'''(?x)
(?:
https?://
- (?:\w+\.)?facebook\.com/
+ (?:[\w-]+\.)?facebook\.com/
(?:[^#]*?\#!/)?
(?:
(?:
@@ -127,6 +127,9 @@ class FacebookIE(InfoExtractor):
}, {
'url': 'https://www.facebook.com/groups/164828000315060/permalink/764967300301124/',
'only_matching': True,
+ }, {
+ 'url': 'https://zh-hk.facebook.com/peoplespower/videos/1135894589806027/',
+ 'only_matching': True,
}]
@staticmethod