mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[facebook] Recognize .onion URLs (closes #11443)
This commit is contained in:
		| @@ -27,7 +27,7 @@ class FacebookIE(InfoExtractor): | ||||
|     _VALID_URL = r'''(?x) | ||||
|                 (?: | ||||
|                     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/', | ||||
|         'only_matching': True, | ||||
|     }, { | ||||
|         'url': 'https://www.facebookcorewwwi.onion/video.php?v=274175099429670', | ||||
|         'only_matching': True, | ||||
|     }] | ||||
|  | ||||
|     @staticmethod | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan