1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 16:45:17 +00:00

[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

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