mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[facebook] Support videos in groups
Viewing/Downloading videos in groups requires logging in, even for those in public groups. Fixes #6951.
This commit is contained in:
		@@ -38,7 +38,8 @@ class FacebookIE(InfoExtractor):
 | 
				
			|||||||
                                story\.php
 | 
					                                story\.php
 | 
				
			||||||
                            )\?(?:.*?)(?:v|video_id|story_fbid)=|
 | 
					                            )\?(?:.*?)(?:v|video_id|story_fbid)=|
 | 
				
			||||||
                            [^/]+/videos/(?:[^/]+/)?|
 | 
					                            [^/]+/videos/(?:[^/]+/)?|
 | 
				
			||||||
                            [^/]+/posts/
 | 
					                            [^/]+/posts/|
 | 
				
			||||||
 | 
					                            groups/[^/]+/permalink/
 | 
				
			||||||
                        )|
 | 
					                        )|
 | 
				
			||||||
                    facebook:
 | 
					                    facebook:
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
@@ -123,6 +124,9 @@ class FacebookIE(InfoExtractor):
 | 
				
			|||||||
    }, {
 | 
					    }, {
 | 
				
			||||||
        'url': 'facebook:544765982287235',
 | 
					        'url': 'facebook:544765982287235',
 | 
				
			||||||
        'only_matching': True,
 | 
					        'only_matching': True,
 | 
				
			||||||
 | 
					    }, {
 | 
				
			||||||
 | 
					        'url': 'https://www.facebook.com/groups/164828000315060/permalink/764967300301124/',
 | 
				
			||||||
 | 
					        'only_matching': True,
 | 
				
			||||||
    }]
 | 
					    }]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _login(self):
 | 
					    def _login(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user