1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-14 21:46:25 +02:00

Update CaschyBridge.php (#4027)

without removing the video-container-div the embedded youtube videos work again
This commit is contained in:
Tone
2024-03-24 16:38:51 +01:00
committed by GitHub
parent 2aace6c898
commit fee5e269d0

View File

@ -54,7 +54,7 @@ class CaschyBridge extends FeedExpander
{ {
// remove unwanted stuff // remove unwanted stuff
foreach ( foreach (
$article->find('div.video-container, div.aawp, p.aawp-disclaimer, iframe.wp-embedded-content, $article->find('div.aawp, p.aawp-disclaimer, iframe.wp-embedded-content,
div.wp-embed, p.wp-caption-text, script') as $element div.wp-embed, p.wp-caption-text, script') as $element
) { ) {
$element->remove(); $element->remove();