tribut / ttrss-videoframes

TT-RSS plugin to enable embedded videos in feeds
93 stars 8 forks source link

Exception on PC Gamer RSS feed #27

Closed xvitaly closed 2 years ago

xvitaly commented 2 years ago
Undefined index: host
1. plugins.local/videoframes/init.php(218): ttrss_error_handler(Undefined index: host, plugins.local/videoframes/init.php, [{"url":{"path":""}})
2. plugins.local/videoframes/init.php(95): _isIframeUrlValid([{"path":""})
3. classes/pluginhost.php(351): hook_sanitize({DOMDocument}, http://www.pcgamer.com/rss/?feed=rss, [["a","abbr","address","acronym","audio","article","aside","b","bdi","bdo","big","blockquote","body","br","caption","cite","center","code","col","colgroup","data","dd","del","details","description","dfn","div","dl","font","dt","em","footer","figure","figcap..., [["id","style","class","width","height","allow"])
4. classes/sanitizer.php(172): chain_hooks_callback(hook_sanitize, {Closure}, {DOMDocument}, http://www.pcgamer.com/rss/?feed=rss, [["a","abbr","address","acronym","audio","article","aside","b","bdi","bdo","big","blockquote","body","br","caption","cite","center","code","col","colgroup","data","dd","del","details","description","dfn","div","dl","font","dt","em","footer","figure","figcap..., [["id","style","class","width","height","allow"])
5. classes/feeds.php(295): sanitize(

                            <article>
                                <div class="youtube-video"><iframe data-lazy-priority="low" data-lazy-src="https://www.youtube.com/embed/Uls4hGQBafU" allowfullscreen></iframe></div>
<p>A v..., http://www.pcgamer.com/rss/?feed=rss, [[])
6. classes/feeds.php(540): _format_headlines_list(, adaptive, , default)
7. backend.php(136): view()
tribut commented 2 years ago

Thanks for letting me know. I've pushed a change that should make the plugin more robust. Please get in touch if you still have problems.