mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:17:07 -05:00 
			
		
		
		
	[facebook] Detect login required error message
This commit is contained in:
		@@ -257,6 +257,8 @@ class FacebookIE(InfoExtractor):
 | 
			
		||||
                raise ExtractorError(
 | 
			
		||||
                    'The video is not available, Facebook said: "%s"' % m_msg.group(1),
 | 
			
		||||
                    expected=True)
 | 
			
		||||
            elif '>You must log in to continue' in webpage:
 | 
			
		||||
                self.raise_login_required()
 | 
			
		||||
            else:
 | 
			
		||||
                raise ExtractorError('Cannot parse data')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user