mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
fix: various small fixes (#3517)
* fix(asrocknews): Trying to get property src of non-object Trying to get property 'src' of non-object at bridges/ASRockNewsBridge.php line 37 * refactor(http): tweak max redirs config * fix(tiktok) * fix(gizmodo) * fix(craig) * fix(nationalg) * fix(roadandtrack) * fix(etsy)
This commit is contained in:
parent
1a529fac46
commit
7881c87bed
8 changed files with 20 additions and 11 deletions
|
@ -50,8 +50,8 @@ class EtsyBridge extends BridgeAbstract
|
|||
$item['author'] = $result->find('p.wt-text-gray > span', 2)->plaintext;
|
||||
|
||||
$item['content'] = '<p>'
|
||||
. $result->find('span.currency-symbol', 0)->plaintext
|
||||
. $result->find('span.currency-value', 0)->plaintext
|
||||
. ($result->find('span.currency-symbol', 0)->plaintext ?? '')
|
||||
. ($result->find('span.currency-value', 0)->plaintext ?? '')
|
||||
. '</p><p>'
|
||||
. $result->find('a', 0)->title
|
||||
. '</p>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue