mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 19:40:00 +02:00
use BridgeAbstract::file_get_html in all bridges
instead of simple_html_dom function file_get_html Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -24,7 +24,7 @@ class VineBridge extends BridgeAbstract {
|
||||
$html = '';
|
||||
$uri = 'http://vine.co/u/'.$param['u'].'?mode=list';
|
||||
|
||||
$html = file_get_html($uri) or $this->returnError('No results for this query.', 404);
|
||||
$html = $this->file_get_html($uri) or $this->returnError('No results for this query.', 404);
|
||||
|
||||
foreach($html->find('.post') as $element) {
|
||||
$a = $element->find('a', 0);
|
||||
|
Reference in New Issue
Block a user