1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 14:18:35 +01:00

[ABCNews] fix: broken css selector

This commit is contained in:
Dag 2022-03-25 01:41:40 +01:00
parent 32a6348418
commit 35afee6103

View File

@ -27,7 +27,7 @@ class ABCNewsBridge extends BridgeAbstract {
public function collectData() {
$url = 'https://www.abc.net.au/news/' . $this->getInput('topic');
$html = getSimpleHTMLDOM($url)->find('.YAJzu._26IxR._2kxNB._3BZxh', 0);
$html = getSimpleHTMLDOM($url)->find('.YAJzu._2FvRw.ZWhbj._3BZxh', 0);
$html = defaultLinkTo($html, $this->getURI());
foreach($html->find('._2H7Su') as $article) {