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:
Dag 2023-07-08 23:21:55 +02:00 committed by GitHub
parent 1a529fac46
commit 7881c87bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 11 deletions

View file

@ -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>';