1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-29 11:00:10 +02:00

[bridges] Fix all calls from 'message' to 'debugMessage'

This commit is contained in:
logmanoriginal
2016-08-24 20:19:30 +02:00
parent 8252387386
commit 5a7bc9b0c3
5 changed files with 17 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ class WorldOfTanksBridge extends HttpCachingBridgeAbstract{
$this->uri = WORLD_OF_TANKS.$this->lang.NEWS.'pc-browser/'.$param['category']."/";
}
$html = $this->getSimpleHTMLDOM($this->getURI()) or $this->returnServerError('Could not request '.$this->getURI());
$this->message("loaded HTML from ".$this->getURI());
$this->debugMessage("loaded HTML from ".$this->getURI());
// customize name
$this->name = $html->find('title', 0)->innertext;
foreach($html->find('.b-imgblock_ico') as $infoLink) {
@@ -57,7 +57,7 @@ class WorldOfTanksBridge extends HttpCachingBridgeAbstract{
$item = array();
$item['uri'] = WORLD_OF_TANKS.$infoLink->href;
// now load that uri from cache
$this->message("loading page ".$item['uri']);
$this->debugMessage("loading page ".$item['uri']);
$articlePage = str_get_html($this->get_cached($item['uri']));
$content = $articlePage->find('.l-content', 0);
HTMLSanitizer::defaultImageSrcTo($content, WORLD_OF_TANKS);