1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-09-01 04:11:54 +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:
Pierre Mazière
2016-07-08 19:06:35 +02:00
parent f43bbda83e
commit 3c0d13c1bb
121 changed files with 1212 additions and 396 deletions

View File

@@ -24,7 +24,7 @@ class VineBridge extends BridgeAbstract {
$html = '';
$uri = 'http://vine.co/u/'.$param['u'].'?mode=list';
$html = $this->file_get_html($uri) or $this->returnServerError('No results for this query.');
$html = $this->getSimpleHTMLDOM($uri) or $this->returnServerError('No results for this query.');
foreach($html->find('.post') as $element) {
$a = $element->find('a', 0);