projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1991ce
)
[facebook] Relax _VALID_URL (Closes #10151)
author
Sergey M․
<dstftw@gmail.com>
Sat, 23 Jul 2016 21:36:49 +0000
(
04:36
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 23 Jul 2016 21:36:49 +0000
(
04:36
+0700)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index cdb093262a00387386a0a3243554f46386276733..0fb781a733f4c19780ed88f8f5b24c1102b10a44 100644
(file)
--- 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