Skip to content

Video embeds are not handled #6

@dphiffer

Description

@dphiffer

Currently the bot script assumes that every RSS entry will have a URL that looks like https://mltshp.com/r/[id], and when it comes upon a video embed it just errors out.

Example RSS:

<item>
<title> Bang Bang / I Will Survive </title>
<link>https://mltshp.com/p/1Q2MN</link>
<description>
<p> <iframe sandbox="allow-scripts allow-same-origin allow-popups" referrerpolicy="no-referrer-when-downgrade" allow="encrypted-media" loading="lazy" fetchpriority="low"class="youtube-player" type="text/html" width="550" height="339" src="https://www.youtube.com/embed/9zWZU8VvmZk?fs=1&feature=oembed&rnd=0.0934397432803" frameborder="0" id="ytframe" allowfullscreen></iframe> </p> I&#39;m on the banjo. Excuse my facial expressions, please. I forget other people can see me.
</description>
<pubDate>Fri, 24 May 2024 18:03:02 </pubDate>
</item>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions