[GolemBridge] Add tables to content

For example the following article has such tables that should be
included:
https://www.golem.de/news/immobilien-mieten-oder-kaufen-warum-es-dabei-nicht-nur-ums-geld-geht-2507-197406.html
This commit is contained in:
Mynacol 2025-07-16 11:50:00 +00:00
parent 354cea09a7
commit bfbe2abdce

View file

@ -152,7 +152,7 @@ class GolemBridge extends FeedExpander
$img->src = $img->getAttribute('data-src-full');
}
foreach ($content->find('p, h1, h2, h3, pre, img[src*="."], iframe, video') as $element) {
foreach ($content->find('p, h1, h2, h3, pre, img[src*="."], div[class*="golem_tablediv"], iframe, video') as $element) {
$item .= $element;
}