Skip to content

Commit

Permalink
[ie/facebook] Update URL validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kclauhk authored Jan 20, 2024
1 parent 1b7d5a7 commit 7d02737
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yt_dlp/extractor/facebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class FacebookIE(InfoExtractor):
(?:[^#]*?\#!/)?
(?:
(?:
permalink\.php|
video/video\.php|
photo\.php|
video\.php|
Expand All @@ -52,9 +53,10 @@ class FacebookIE(InfoExtractor):
watch(?:/live)?/?
)\?(?:.*?)(?:v|video_id|story_fbid)=|
[^/]+/videos/(?:[^/]+/)?|
events/(?:[^/]+/)?|
[^/]+/posts/|
events/(?:[^/]+/)?|
groups/[^/]+/(?:permalink|posts)/|
stories/|
watchparty/
)|
facebook:
Expand Down

0 comments on commit 7d02737

Please sign in to comment.