[facebook] Update onion URL (#788)

Authored by: Derkades
This commit is contained in:
Robin 2021-08-25 17:01:43 +02:00 committed by GitHub
parent 85a0021fb3
commit 61bfacb233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class FacebookIE(InfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
(?: (?:
https?:// https?://
(?:[\w-]+\.)?(?:facebook\.com|facebookcorewwwi\.onion)/ (?:[\w-]+\.)?(?:facebook\.com|facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd\.onion)/
(?:[^#]*?\#!/)? (?:[^#]*?\#!/)?
(?: (?:
(?: (?:
@ -226,7 +226,7 @@ class FacebookIE(InfoExtractor):
'only_matching': True, 'only_matching': True,
}, { }, {
# data.video # data.video
'url': 'https://www.facebookcorewwwi.onion/video.php?v=274175099429670', 'url': 'https://www.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/video.php?v=274175099429670',
'only_matching': True, 'only_matching': True,
}, { }, {
# no title # no title