Commit 78551931 authored by =?UTF-8?q?Sergey=20M=E2=80=A4?='s avatar =?UTF-8?q?Sergey=20M=E2=80=A4?= Committed by Dominika Liberda
Browse files

[facebook] Improve login required detection

parent ba41af65
......@@ -521,7 +521,10 @@ class FacebookIE(InfoExtractor):
raise ExtractorError(
'The video is not available, Facebook said: "%s"' %,
elif '>You must log in to continue' in webpage:
elif any(p in webpage for p in (
'>You must log in to continue',
if not video_data and '/watchparty/' in url:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment