mozilla / readability

A standalone version of the readability lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YouTube videos not being extracted.

jkinggg opened this issue · comments

Hi All,

I'm encountering an issue with video iframes. YouTube videos on Medium are not being extracted. Per the documentation, I would expect this to be extracted successfully. Does anyone have any advice on this?

Here is an example of an article: https://towardsdatascience.com/quick-fire-guide-to-multi-modal-ml-with-openais-clip-2dad7e398ac0

Here is the iframe I would expect to be extracted:
<iframe id="player" frameborder="0" allowfullscreen="" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="Fast intro to multi-modal ML with OpenAI's CLIP" width="640" height="360" src="https://www.youtube.com/embed/989aKUVBfbk?wmode=opaque&amp;widget_referrer=https%3A%2F%2Ftowardsdatascience.com%2Fquick-fire-guide-to-multi-modal-ml-with-openais-clip-2dad7e398ac0&amp;enablejsapi=1&amp;origin=https%3A%2F%2Fcdn.embedly.com&amp;widgetid=1"></iframe>

Thanks,
Johnny

Can you provide a code sample that reproduces the problem, and perhaps debug output (from passing debug: true in the options object/dictionary) ?