mirror of https://github.com/danoloan10/rss-bridge
[ABCNews] fix: broken css selector
This commit is contained in:
parent
32a6348418
commit
35afee6103
|
@ -27,7 +27,7 @@ class ABCNewsBridge extends BridgeAbstract {
|
||||||
|
|
||||||
public function collectData() {
|
public function collectData() {
|
||||||
$url = 'https://www.abc.net.au/news/' . $this->getInput('topic');
|
$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());
|
$html = defaultLinkTo($html, $this->getURI());
|
||||||
|
|
||||||
foreach($html->find('._2H7Su') as $article) {
|
foreach($html->find('._2H7Su') as $article) {
|
||||||
|
|
Loading…
Reference in New Issue