Merge pull request #241 from LogMANOriginal/FacebookBridge
[Facebook] Select page content one level further down
This commit is contained in:
commit
99b7d2e6b4
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class FacebookBridge extends BridgeAbstract{
|
||||||
$this->name = "Facebook";
|
$this->name = "Facebook";
|
||||||
$this->uri = "http://www.facebook.com/";
|
$this->uri = "http://www.facebook.com/";
|
||||||
$this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117";
|
$this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117";
|
||||||
$this->update = "23/10/2015";
|
$this->update = "31/03/2016";
|
||||||
|
|
||||||
$this->parameters[] =
|
$this->parameters[] =
|
||||||
'[
|
'[
|
||||||
|
@ -146,7 +146,7 @@ class FacebookBridge extends BridgeAbstract{
|
||||||
}
|
}
|
||||||
|
|
||||||
//No captcha? We can carry on retrieving page contents :)
|
//No captcha? We can carry on retrieving page contents :)
|
||||||
$element = $html->find('[id^=PagePostsSectionPagelet-]')[0]->children(0)->children(0);
|
$element = $html->find('[id^=PagePostsSectionPagelet-]')[0]->children(0)->children(0)->children(0);
|
||||||
|
|
||||||
if(isset($element)) {
|
if(isset($element)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue