mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-24 19:22:06 +00:00
[facebook] Recognize .onion URLs (closes #11443)
This commit is contained in:
parent
069f918302
commit
30918999f5
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
version <unreleased>
|
||||||
|
|
||||||
|
Extractors
|
||||||
|
+ [facebook] Recognize .onion URLs (#11443)
|
||||||
|
|
||||||
version 2016.12.12
|
version 2016.12.12
|
||||||
|
|
||||||
Core
|
Core
|
||||||
|
|
|
@ -27,7 +27,7 @@ class FacebookIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
(?:
|
(?:
|
||||||
https?://
|
https?://
|
||||||
(?:[\w-]+\.)?facebook\.com/
|
(?:[\w-]+\.)?(?:facebook\.com|facebookcorewwwi\.onion)/
|
||||||
(?:[^#]*?\#!/)?
|
(?:[^#]*?\#!/)?
|
||||||
(?:
|
(?:
|
||||||
(?:
|
(?:
|
||||||
|
@ -150,6 +150,9 @@ class FacebookIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://zh-hk.facebook.com/peoplespower/videos/1135894589806027/',
|
'url': 'https://zh-hk.facebook.com/peoplespower/videos/1135894589806027/',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.facebookcorewwwi.onion/video.php?v=274175099429670',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in a new issue