mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 19:06:23 +03:00
[GolemBridge] Add h2 elements from article content
Else some headers are just missing. Example article with previously missing movie names: https://www.golem.de/news/science-fiction-die-zehn-besten-filme-aus-den-spannenden-70ern-2312-179557.html
This commit is contained in:
parent
d4ae55733b
commit
0116dde275
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class GolemBridge extends FeedExpander
|
|||
$img->src = $img->getAttribute('data-src-full');
|
||||
}
|
||||
|
||||
foreach ($content->find('p, h1, h3, img[src*="."]') as $element) {
|
||||
foreach ($content->find('p, h1, h2, h3, img[src*="."]') as $element) {
|
||||
$item .= $element;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue