Update HeiseBridge.php (#3963)

fix for broken article categories
This commit is contained in:
Tone 2024-02-08 15:35:24 +01:00 committed by GitHub
parent 6bb04d48ed
commit 75a0a779c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,7 +179,7 @@ class HeiseBridge extends FeedExpander
}
}
$categories = $article->find('.article-footer__topics ul.topics li.topics__item');
$categories = $article->find('.article-footer__topics ul.topics li.topics__item a-topic a');
foreach ($categories as $category) {
$item['categories'][] = trim($category->plaintext);
}