mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 09:35:57 +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
|
@ -13,7 +13,7 @@ class DilbertBridge extends BridgeAbstract {
|
|||
|
||||
public function collectData(array $param) {
|
||||
|
||||
$html = $this->file_get_html($this->getURI()) or $this->returnServerError('Could not request Dilbert: '.$this->getURI());
|
||||
$html = $this->getSimpleHTMLDOM($this->getURI()) or $this->returnServerError('Could not request Dilbert: '.$this->getURI());
|
||||
|
||||
foreach ($html->find('section.comic-item') as $element) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue