mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 01:55:21 +02:00
fix: change default curl user agent (#2926)
This commit is contained in:
parent
0a060b2ad6
commit
cd0ca7f645
2 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,7 @@ class NovelUpdatesBridge extends BridgeAbstract
|
|||
{
|
||||
$fullhtml = getSimpleHTMLDOM($this->getURI());
|
||||
|
||||
$this->seriesTitle = $fullhtml->find('h4.seriestitle', 0)->plaintext;
|
||||
$this->seriesTitle = $fullhtml->find('div.seriestitlenu', 0)->plaintext;
|
||||
// dirty fix for nasty simpledom bug: https://github.com/sebsauvage/rss-bridge/issues/259
|
||||
// forcefully removes tbody
|
||||
$html = $fullhtml->find('table#myTable', 0)->innertext;
|
||||
|
@ -66,7 +66,6 @@ class NovelUpdatesBridge extends BridgeAbstract
|
|||
if (!empty($this->seriesTitle)) {
|
||||
return $this->seriesTitle . ' - ' . static::NAME;
|
||||
}
|
||||
|
||||
return parent::getName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue