mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-16 13:50:01 +01:00
Fix NACSouthGermanyMediaLibraryBridge due to website changes (#4121)
This commit is contained in:
parent
cfd406861e
commit
36706a3dec
@ -85,12 +85,12 @@ class NACSouthGermanyMediaLibraryBridge extends BridgeAbstract
|
||||
|
||||
foreach ($page->find('div.flex-columns.entry') as $parent) {
|
||||
# Find title
|
||||
$title = $parent->find('h2', 0)->plaintext;
|
||||
$title = trim($parent->find('h2')[0]->innertext);
|
||||
|
||||
# Find content
|
||||
$contentBlock = $parent->find('ul', 0);
|
||||
$contentBlock = $parent->find('div')[2];
|
||||
$content = '';
|
||||
foreach ($contentBlock->find('li') as $li) {
|
||||
foreach ($contentBlock->find('li,p') as $li) {
|
||||
$content .= '<p>' . $li->plaintext . '</p>';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user