mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-22 03:34:46 +02:00
bridges: use BridgeAbstract::getSimpleHTMLDOM
instead of BridgeAbstract::file_get_html Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
f43bbda83e
commit
3c0d13c1bb
121 changed files with 1212 additions and 396 deletions
|
@ -34,7 +34,7 @@ class GithubIssueBridge extends BridgeAbstract{
|
|||
|
||||
public function collectData(array $param){
|
||||
$uri = 'https://github.com/'.$param['u'].'/'.$param['p'].'/issues/'.$param['i'];
|
||||
$html = file_get_html($uri)
|
||||
$html = $this->getSimpleHTMLDOM($uri)
|
||||
or $this->returnServerError('No results for Github Issue '.$param['i'].' in project '.$param['u'].'/'.$param['p']);
|
||||
|
||||
foreach($html->find('.js-comment-container') as $comment){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue