decruft 0.1.2

Extract clean, readable content from web pages
Documentation
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>Embedded videos test</title>
</head>
<body>
  <article>
    <h1>Embedded videos test</h1>

    <p>A YouTube video:</p>
    <iframe width="560" height="315" src="https://www.youtube.com/embed/b_PXuEPxN50"
            frameborder="0" allowfullscreen=""></iframe>

    <p>A YouTube nocookie video:</p>
    <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/b_PXuEPxN50"
            frameborder="0" allowfullscreen=""></iframe>

    <p>A tweet:</p>
    <iframe src="https://platform.twitter.com/embed/Tweet.html?id=1675626836821409792"
            width="550" height="300" frameborder="0"></iframe>

    <p>An X.com embed:</p>
    <iframe src="https://x.com/kepano/status/1675626836821409792"
            width="550" height="300" frameborder="0"></iframe>

    <p>A Vimeo video should stay as iframe:</p>
    <iframe src="https://player.vimeo.com/video/45725193?h=a290f71a57" width="100%" height="100%" style="aspect-ratio: 3 / 1.025" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen=""></iframe>
  </article>
</body>
</html>