diff options
author | 2025-03-02 19:32:33 -0800 | |
---|---|---|
committer | 2025-03-02 19:32:33 -0800 | |
commit | 8b16dd20f6544af3eedf286e23c0d34ab525736c (patch) | |
tree | ec284e22a046c4c8e9626e3fa64a000a2747bf84 /bridges/CarThrottleBridge.php | |
parent | b183aa798af48af556496c42780d6e844172cf44 (diff) | |
parent | 00a24e2f694a319a5e6cb070dddfff2dae892378 (diff) | |
download | rss-bridge-master.tar.gz rss-bridge-master.tar.zst rss-bridge-master.zip |
Diffstat (limited to 'bridges/CarThrottleBridge.php')
-rw-r--r-- | bridges/CarThrottleBridge.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/CarThrottleBridge.php b/bridges/CarThrottleBridge.php index 2b8ca2b2..8475a414 100644 --- a/bridges/CarThrottleBridge.php +++ b/bridges/CarThrottleBridge.php @@ -66,7 +66,7 @@ class CarThrottleBridge extends BridgeAbstract foreach ($categoryPage->find('div.cmg-card') as $post) { $item = []; - $titleElement = $post->find('div.title a')[0]; + $titleElement = $post->find('a.title')[0]; $post_uri = self::URI . $titleElement->getAttribute('href'); if (!isset($post_uri) || $post_uri == '') { @@ -80,8 +80,8 @@ class CarThrottleBridge extends BridgeAbstract $item['author'] = $this->parseAuthor($articlePage); - $articleImage = $articlePage->find('div.block-layout-field-image')[0]; - $article = $articlePage->find('div.block-layout-body')[1]; + $articleImage = $articlePage->find('figure')[0]; + $article = $articlePage->find('div.first-column div.body')[0]; //remove ads foreach ($article->find('aside') as $ad) { |