mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
Warn the user when trying to fetch a non-public facebook page.
This commit is contained in:
parent
8770c87389
commit
79ebdc4b39
@ -164,6 +164,12 @@ EOD;
|
||||
}
|
||||
|
||||
//No captcha? We can carry on retrieving page contents :)
|
||||
//First, we check wether the page is public or not
|
||||
$loginForm = $html->find('._585r', 0);
|
||||
if($loginForm != null) {
|
||||
returnServerError('You must be logged in to view this page. This is not supported by RSS-Bridge.');
|
||||
}
|
||||
|
||||
$element = $html
|
||||
->find('#pagelet_timeline_main_column')[0]
|
||||
->children(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user