diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-08 00:28:32 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-08 00:28:32 +0530 |
commit | 46358f647db9cf3adad66f2b2287bb6fa4a8cec4 (patch) | |
tree | 01bbaa60dc3ea515c06fb46ab60dba3cc9762ed0 /yt_dlp/extractor/facebook.py | |
parent | bd99f6e64834ac8e1304619d469183ef65c20d39 (diff) | |
download | hypervideo-pre-46358f647db9cf3adad66f2b2287bb6fa4a8cec4.tar.lz hypervideo-pre-46358f647db9cf3adad66f2b2287bb6fa4a8cec4.tar.xz hypervideo-pre-46358f647db9cf3adad66f2b2287bb6fa4a8cec4.zip |
Update to ytdl-commit-c2350ca
Update MSVC 2010 redist URL
https://github.com/ytdl-org/youtube-dl/commit/c2350cac243ba1ec1586fe85b0d62d1b700047a2
Diffstat (limited to 'yt_dlp/extractor/facebook.py')
-rw-r--r-- | yt_dlp/extractor/facebook.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py index d29b9aab9..f55845720 100644 --- a/yt_dlp/extractor/facebook.py +++ b/yt_dlp/extractor/facebook.py @@ -519,7 +519,10 @@ 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: + elif any(p in webpage for p in ( + '>You must log in to continue', + 'id="login_form"', + 'id="loginbutton"')): self.raise_login_required() if not video_data and '/watchparty/' in url: |