mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 03:54:04 +02:00
[bridges] Fix all calls to get_cached
This commit is contained in:
@@ -58,7 +58,7 @@ class WorldOfTanksBridge extends HttpCachingBridgeAbstract{
|
||||
$item['uri'] = $this->uri.$infoLink->href;
|
||||
// now load that uri from cache
|
||||
$this->debugMessage("loading page ".$item['uri']);
|
||||
$articlePage = str_get_html($this->get_cached($item['uri']));
|
||||
$articlePage = $this->get_cached($item['uri']);
|
||||
$content = $articlePage->find('.l-content', 0);
|
||||
HTMLSanitizer::defaultImageSrcTo($content, $this->uri);
|
||||
$item['title'] = $content->find('h1', 0)->innertext;
|
||||
|
Reference in New Issue
Block a user