mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[facebook] Add another regex for handleServerJS
This commit is contained in:
		| @@ -365,8 +365,8 @@ class FacebookIE(InfoExtractor): | ||||
|             return video_data | ||||
|  | ||||
|         server_js_data = self._parse_json(self._search_regex( | ||||
|             r'handleServerJS\(({.+})(?:\);|,")', webpage, | ||||
|             'server js data', default='{}'), video_id, fatal=False) | ||||
|             [r'handleServerJS\(({.+})(?:\);|,")', r'\bs\.handle\(({.+?})\);'], | ||||
|             webpage, 'server js data', default='{}'), video_id, fatal=False) | ||||
|  | ||||
|         if server_js_data: | ||||
|             video_data = extract_video_data(server_js_data.get('instances', [])) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user